zabbix 无法启动server服务器

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配置 文件 增加cache大小

 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

改完后再次重启server ,正常

猜你喜欢

转载自blog.51cto.com/317487/2137388