web界面底部出现黄色报错‘‘zabbix server is not running: the information displayed may not be current’’
查看日志
[root@centos7 ~]# tail -100 /var/log/zabbix/zabbix_server.log
....
15367:20181101:171328.412 __mem_malloc: skipped 0 asked 40 skip_min 4294967295 skip_max 0
15367:20181101:171328.412 [file:dbconfig.c,line:653] zbx_mem_malloc(): out of memory (requested 40 bytes)
15367:20181101:171328.412 [file:dbconfig.c,line:653] zbx_mem_malloc(): please increase CacheSize configuration parameter
15343:20181101:171328.414 One child process died (PID:15367,exitcode/signal:1). Exiting ...
15343:20181101:171330.416 syncing history data...
15343:20181101:171330.418 __mem_malloc: skipped 0 asked 40 skip_min 4294967295 skip_max 0
15343:20181101:171330.418 [file:dbconfig.c,line:653] zbx_mem_malloc(): out of memory (requested 40 bytes)
15343:20181101:171330.418 [file:dbconfig.c,line:653] zbx_mem_malloc(): please increase CacheSize configuration parameter
...
发现应该跟内存有关,提示增加内存,又发现web界面数据一直断断续续,
猜测可能是机器多了,缓存不够了
经调试 增加 一个参数,CacheSize
vim /etc/zabbix/zabbix_server.conf
CacheSize=128M
重启zabbix-server服务
测试日志正常,web界面正常,