Because I always forget how to fix this issue and have to research it every time I come across it, I thought it was time to blog about it. So this morning I got the error on our new-ish zabbix server that our config cache was getting full. This didn’t surprise me since we’ve been adding lots of devices over the past few months. So I jumped into the zabbix server config file and quickly update the cache setting to give myself some room. I restarted zabbix-server and… the warning did not go away.

Checking the logs, I see this error:

NOTE: the following guide works on Ubuntu 14.04 server… haven’t tested anywhere else.

It finally dawned on me that I had to change something in the /etc/sysctl.conf:

This gives you 128Mb of shared space

To apply changes in the /etc/sysctl.conf immediately, execute:

Now when I restart zabbix-server again everything is happy again and there is plenty of room to grow.

Fore more info and guides for other OS, check the official zabbix page

Written by kevin