成都网站建设设计

将想法与焦点和您一起共享

zabbixserverisnotrunning:t-创新互联

zabbix报错:
zabbix server is not running:the information displayer may not be current。
环境是centos7。首先进服务器,查看日志
tail -20 /var/log/zabbix/zabbix_server.log

成都创新互联公司是网站建设专家,致力于互联网品牌建设与网络营销,专业领域包括网站设计、成都网站设计、电商网站制作开发、重庆小程序开发、微信营销、系统平台开发,与其他网站设计及系统开发公司不同,我们的整合解决方案结合了恒基网络品牌建设经验和互联网整合营销的理念,并将策略和执行紧密结合,且不断评估并优化我们的方案,为客户提供全方位的互联网品牌整合方案!

显示:

zbx_mem_realloc(): please increase CacheSize configuration parameter
16541:20200210:100236.335 === memory statistics for configuration cache ===
16541:20200210:100236.335 min chunk size: 18446744073709551615 bytes
16541:20200210:100236.335 max chunk size: 0 bytes
16541:20200210:100236.335 memory of total size 8388232 bytes fragmented into 71313 chunks
16541:20200210:100236.335 of those, 0 bytes are in 0 free chunks
16541:20200210:100236.335 of those, 7247240 bytes are in 71313 used chunks**
__zbx_mem_realloc(): out of memory (requested 16 bytes)
16855:20200210:100555.586 [file:dbconfig.c,line:94]

out of memory please increase CacheSize
根据提示,进行设置

vim /etc/zabbix/zabbix_server.conf

打开zabbix_server.conf找到Option: CacheSize,把原来的# CacheSize=8M前面的#注释去掉,将8M修改为1024,这个1024根据服务器性能修改.

Option: CacheSize
Size of configuration cache, in bytes.
Shared memory size for storing host, item and trigger data.
Mandatory: no
Range: 128K-8G
Default:
CacheSize=1024M

最后重启zabbix服务

systemctl start zabbix_server.service


分享标题:zabbixserverisnotrunning:t-创新互联
当前网址:http://chengdu.cdxwcx.cn/article/djihsd.html