天天看点

ZABBIX:内存溢出导致zabbix-server/zabbix_server 服务启动不起来

30964:20180830:105530.520 Starting Zabbix Server. Zabbix 3.4.10 (revision 81503).

30964:20180830:105530.520 ** Enabled features **

30964:20180830:105530.520 SNMP monitoring: YES

30964:20180830:105530.521 IPMI monitoring: YES

30964:20180830:105530.521 Web monitoring: YES

30964:20180830:105530.521 VMware monitoring: YES

30964:20180830:105530.521 SMTP authentication: NO

30964:20180830:105530.521 Jabber notifications: YES

30964:20180830:105530.521 Ez Texting notifications: YES

30964:20180830:105530.521 ODBC: YES

30964:20180830:105530.521 SSH2 support: YES

30964:20180830:105530.521 IPv6 support: YES

30964:20180830:105530.521 TLS support: YES

30964:20180830:105530.521

30964:20180830:105530.521 using configuration file: /etc/zabbix/zabbix_server.conf

30964:20180830:105530.548 current database version (mandatory/optional): 03040000/03040007

30964:20180830:105530.548 required mandatory version: 03040000

30964:20180830:105531.190 mem_malloc: skipped 0 asked 24 skip_min 4294967295 skip_max 0

30964:20180830:105531.190 [file:dbconfig.c,line:90] zbx_mem_realloc(): out of memory (requested 16 bytes)

30964:20180830:105531.190 [file:dbconfig.c,line:90] zbx_mem_realloc(): please increase CacheSize configuration parameter;

**

解决:

zabbix内存溢出,

/etc/zabbix//zabbix_server.conf 或者/etc/zabbix/zabbix_agent.conf

添加或修改CacheSize,或CacheSize=8M

改为CacheSize=1024M (这个值根据自己的需求)

重启服务zabbix_server;

继续阅读