Setting ulimit Limits & vm.max_map_count

To set the ulimit limits please follow the below steps.

  1. Create a new file, 99-tamr.conf in the directory /etc/security/limits.d. Do not edit the file /etc/security/limits.conf directly.
  2. Add the configuration to this file as shown in the following example.
# /etc/security/limits.d/99-tamr.conf
*           soft    nofile       1000000
*           hard    nofile       1000000
*           soft    nproc        104381
*           hard    nproc        104381

  1. Verify the current values:
  • The maximum number of open files (nofile) is 1000000. To confirm the current value, run ulimit -n.
  • The maximum number of user processes (nproc) is 104381. To confirm the current value, run ulimit -u.

For more information about ulimit resource limits, see:



Setting vm.max_map_count:

You can change the maximum number of memory map areas a process may have, specified with vm.max_map_count. The maximum number of memory map areas is 262144.

  • To set the value for the current Tamr session, use sysctl -w vm.max_map_count=.
  • To persist the change so it applies when you restart the Tamr instance, edit the file /etc/sysctl.conf and add a line at the end containing: vm.max_map_count=.