138401:20170630:172159.850 using configuration file: /data/zabbix/etc/zabbix_server.conf
138401:20170630:172159.854 current database version (mandatory/optional): 03020000/03020000
138401:20170630:172159.854 required mandatory version: 03020000
138401:20170630:172200.238 __mem_malloc: skipped 0 asked 48 skip_min 4294967295 skip_max 0
138401:20170630:172200.238 [file:strpool.c,line:53] zbx_mem_malloc(): out of memory (requested 42 bytes)
138401:20170630:172200.238 [file:strpool.c,line:53] zbx_mem_malloc(): please increase CacheSize configuration parameter
打开zabbix_server.conf 找到 Option: CacheSize
把原来的 # CacheSize = 8M 前面的#注释去掉,将8M修改为1024,这个1024根据服务器性能修改。
### Option: CacheSize
# Size of configuration cache, in bytes.
# Shared memory size for storing host, item and trigger data.
#
# Mandatory: no
# Range: 128K-8G
# Default:
CacheSize=1024M
收起zabbix内存溢出,
/etc/zabbix/zabbix_server.conf 或者/etc/zabbix/zabbix_agent.conf
添加或修改CacheSize,或CacheSize=8M
改为CacheSize=1024M (这个值根据自己的需求)
重启服务zabbix_server;