zabbix server is not running

正在配置zabbix,突然网页下方提示

查看log日志

using configuration file: /etc/zabbix/zabbix_server.conf

__mem_malloc: skipped 0 asked 96 skip_min 4294967295 skip_max 0
[file:strpool.c,line:51] zbx_mem_malloc(): out of memory (requested 91 bytes)
[file:strpool.c,line:51] zbx_mem_malloc(): please increase CacheSize configuration parameter

依据提示修改CacheSize

### 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=8M
CacheSize=2048M

重启Zabbix Server

systemctl start zabbix-server

猜你喜欢

转载自www.cnblogs.com/songyunlong/p/9250931.html