故障现象:
Zabbix_server能正常启动但是10051无法正常监听
Zabbix日志提示:
1921:20200507:145141.391 using configuration file: /usr/local/zabbix/etc/zabbix_server.conf
1921:20200507:145141.397 current database version (mandatory/optional): 04040000/04040000
1921:20200507:145141.397 required mandatory version: 04040000
1921:20200507:145141.766 __mem_malloc: skipped 0 asked 256 skip_min 18446744073709551615 skip_max 0
1921:20200507:145141.766 [file:dbconfig.c,line:94] __zbx_mem_malloc(): out of memory (requested 256 bytes)
1921:20200507:145141.766 [file:dbconfig.c,line:94] __zbx_mem_malloc(): please increase CacheSize configuration parameter
1921:20200507:145141.766 === memory statistics for configuration cache ===
1921:20200507:145141.766 free chunks of size 24 bytes: 63
1921:20200507:145141.766 free chunks of size 32 bytes: 2
1921:20200507:145141.766 free chunks of size 40 bytes: 8
1921:20200507:14514

本文档描述了Zabbix_server启动时遇到的问题,即10051端口无法正常监听,并提供了详细的日志分析。日志显示由于内存分配不足导致配置缓存错误。解决方案是通过编辑`/usr/local/zabbix/etc/zabbix_server.conf`配置文件,增大VMwareCacheSize和CacheSize参数,分别设置为2G和8G,然后重启服务端以解决问题。
最低0.47元/天 解锁文章
1万+





