sysctl
configure parameter
# determine the maximum size of a shared memory segment cat /proc/sys/kernel/shmmax # set default shared memory limit for shmmax (16 GB) echo 17179869184 > /proc/sys/kernel/shmmax # add the following line to /etc/sysctl.conf to make a change permanent echo "kernel.shmmax=4294967296" >> /etc/sysctl.d/90-shmmax.conf # load parameter /sbin/sysctl -p /etc/sysctl.d/90-shmmax.conf
reduce swap usage
https://en.wikipedia.org/wiki/Swappiness