1. 程式人生 > >ZABBIX:內存溢出導致zabbix-server/zabbix_server 服務啟動不起來

ZABBIX:內存溢出導致zabbix-server/zabbix_server 服務啟動不起來

需求 tor 添加 file ext ram 自己的 rev lease

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;

ZABBIX:內存溢出導致zabbix-server/zabbix_server 服務啟動不起來