What are the OS parameters modified by Aerospike init script


#1

FAQ What are the OS parameters modified by Aerospike init script?

Answer

Aerospike 3.9.1:

kernel.shmall   # 4G pages = 16TB
kernel.shmmax   # 1GB

net.core.rmem_max # 15728640  (15M)
net.core.wmem_max # 5242880 (5M)

To verify, run the following:

sudo sysctl -a | egrep "shm|mem_max"

In additon, maximum number of open files for Aerospike process (asd) is set to 100000 using ulimit. To confirm, run the following:

cat /proc/`pgrep asd`/limits

Notes

  • See /etc/init.d/aerospike
  • Sysctl parameters are only set when current values are smaller than the minimum required.
  • ulimit only affect current shell and its children not system-wide settings.

Keywords

init.d OS

Timestamp

9/1/16