How To Configure Shared Memory For Zabbix Server
Now I want to share error for configuration shared memory of Zabbix server daemon. Many times you see not start zabbix server for shared memory problem. So I have to share this how to solve this problem.
At first check your zabbix server running status using below command.
$ sysctl -a |grep shmmax
Output below
kernel.shmmax = 3068709
Now increase shared memory for remove Zabbix service status no. Using below command. Remember it this is not permanent solution. When your server reboot then this settings not working.
$ sysctl -w kernel.shmmax=536870912
$ sysctl -a |grep shmmax
This is permanent solution shared memory for zabbix server
$ vi /etc/sysctl.conf
Insert below value into this file
kernel.shmmax=536870912
Save for press. Esc :wq then press Enter.