Fuel 7: Zabbix server fails to start, shared mem too low

Bug #1518738 reported by Rich
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel Plugins
New
Undecided
Unassigned

Bug Description

Shortly after successful deployment Zabbix server crashes and fails to restart. Configuration cache is OOM.

Zabbix server is deployed with no cache options in the server config file and defaults are too low.
Added the following to /etc/zabbix/zabbix_server.conf
CacheSize=128M
TrendCacheSize=64M
ValueCacheSize=128M

Starting the server fails:
11423:20151121:210738.862 using configuration file: /etc/zabbix/zabbix_server.conf
 11423:20151121:210738.862 cannot allocate shared memory of size 67108864: [22] Invalid argument
 11423:20151121:210738.862 cannot allocate shared memory for trend cache

shmmax is set to 32M, default for Ubuntu, there are no shared memory configs in sysctl.conf
Set shmmax to 2G in /etc/sysctl.conf
kernel.shmmax=2147483648

Apply to all controllers, restart zabbix server through crm. All is well.

This may fixed already in the latest zabbix plugin build, but I have not seen a bug report for it.

Rich (rmhayes462)
summary: - Zabbix server fails to start, shared mem too low
+ Fuel 7: Zabbix server fails to start, shared mem too low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.