打开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