8. Configuring and Managing Vector : OS Settings : Increase max_map_count Kernel Parameter (Linux)
 
Share this page                  
Increase max_map_count Kernel Parameter (Linux)
You may need to increase the max_map_count kernel parameter to avoid running out of map areas for the Vector Server process.
To increase the max_map_count parameter
1. Add the following line to /etc/sysctl.conf:
vm.max_map_count=map_count
where map_count should be around 1 per 128 KB of system memory. For example:
vm.max_map_count=2097152
on a 256 GB system.
2. Reload the config as root:
sysctl -p
3. Check the new value:
cat /proc/sys/vm/max_map_count
4. Restart Vector.
Note:  The changed setting affects new processes only and should not adversely affect other processes or the OS. The memory is allocated only when a process needs the map areas.