zabbix web报错zabbix server is not running:the information displayed may not be current.

故障描述:

         在配置zabbix过程中浏览器下方提示如下告警,之前zabbix是能正常使用的,查看zabbix server服务程序没起来,重启服务也没用,重启系统也没用,无缘无故就报错,让我一脸懵逼,防火墙和selinux都是关闭的,

 

 

检查日志有如下提示。

tailf /var/log/zabbix/zabbix_server.log 

  1230:20180706:165735.809 [file:dbconfig.c,line:90] zbx_mem_malloc(): out of memory (requested 120 bytes)
  1230:20180706:165735.809 [file:dbconfig.c,line:90] zbx_mem_malloc(): please increase CacheSize configuration parameter

故障原因和解决办法:

是由于zabbix server配置文件里的CacheSize 大小不足导致,默认是8M,设置大一点

 vim /etc/zabbix/zabbix_server.conf
378 ### Option: CacheSize
379 #       Size of configuration cache, in bytes.
380 #       Shared memory size for storing host, item and trigger data.
381 #
382 # Mandatory: no
383 # Range: 128K-8G
384 # Default:
385 CacheSize=2048M
386
原创文章 107 获赞 120 访问量 21万+

猜你喜欢

转载自blog.csdn.net/qq_38228830/article/details/102818004