Zabbix service error message: zabbix server is not running
This article shows how to solve the problem of reporting errors in zabbix services if you encounter this problem in your daily work. I hope you can find a solution to your questions through this article.
Zabbix error:
Zabbix server is not running:the information displayer may not be current .
The environment is centos7. First go to the server and view the log
Tail-20 / var/log/zabbix/zabbix_server.log
Display:
Zbx_mem_realloc (): please increase CacheSize configuration parameter
16541 memory statistics for configuration cache 20200210 100236.335 =
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
Follow the prompts to set up
Vim / etc/zabbix/zabbix_server.conf
Open zabbix_server.conf to find Option: CacheSize, remove the # comment in front of the original # CacheSize=8M, change 8m to 1024, and this 1024 is modified according to server performance.
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
Finally restart the zabbix service
Systemctl start zabbix_server.service
The above is the solution to the error report of zabbix service, and you have to use it yourself in order to know the details. If you want to read more related articles, you are welcome to follow the industry information channel!