温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

zabbix服务报错提示:zabbix server is not running

发布时间:2020-05-30 13:56:13 来源:亿速云 阅读:4241 作者:Leah 栏目:系统运维

本篇文章展示了解决zabbix服务报错的方法,如果在日常工作遇到这个问题。希望大家通过这篇文章,找到解决疑问的办法。

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

以上就是zabbix服务报错的解决方法,详细使用情况还得要大家自己使用过才能知道具体要领。如果想阅读更多相关内容的文章,欢迎关注亿速云行业资讯频道!

向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI