zabbix错误集合及解决办法

2017年9月4日15:27:44 评论 8,587

0x01  zabbix_server dead but subsys locked错误

今天把Zabbix版本从3.2升级到了3.4。但在启动Zabbix_Server时出现了"zabbix_server dead but subsys locked"的错误状态。

1、问题原因

在查看了zabbix_server日志,发现日志里有下面的告警

zbx_mem_malloc(): out of memory (requested 256 bytes)

zbx_mem_malloc(): please increase CacheSize configuration parameter

错误原因写的很明白,内存溢出,请调整CacheSize大小。

2、问题解决

编辑zabbix_server.conf配置文件,定位到CacheSize关键字位置,然后调高CacheSize大小,大小根据自己环境调整

# Size of configuration cache, in bytes.

# Shared memory size for storing host, item and trigger data.

#

# Mandatory: no

# Range: 128K-8G

# Default:

CacheSize=32M

最后重启zabbix_server服务即可。

0x02  Zabbix value cache working in low memory mode错误

问题解决:

编辑zabbix_server.conf配置文件,定位到ValueCacheSize关键字位置,然后调高ValueCacheSize大小,大小根据自己环境调整

# Option: ValueCacheSize

# Size of history value cache, in bytes.

# Shared memory size for caching item history data requests.

# Setting to 0 disables value cache.

#

# Mandatory: no

# Range: 0,128K-64G

# Default:

ValueCacheSize=2048M
weinxin
聂扬帆博客
一个分享IT运维相关工作经验和实战技巧的个人博客

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: