1. 程式人生 > >zabbix 無法啟動server服務器

zabbix 無法啟動server服務器

server 服務 ring bytes 檢查 too 增加 mem selinux

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 ,正常

zabbix 無法啟動server服務器