Open Source

[ Zabbix ] Zabbix server is not running : the infomation displayed may not be current Problem

Pydole 2020. 6. 15. 14:26

[ Problem ]

 

Zabbix server is not running : the infomation displayed may not be current

 

 

Zabbix를 구축하고, 50대 정도 노드를 늘리니 웹 브라우저에 아래와 같이 메세지가 발생하였다.

 

zabbix 로그를 보니, out of memory 발생하였고, Zabbix Health도 Zabbix configuration이 Full 사용이었다.

 

Zabbix Health memory

 

 

4026:20200615:141000.390 [file:dbconfig.c,line:94] __zbx_mem_realloc(): out of memory (requested 16 bytes)
4039:20200615:141010.892 [file:dbconfig.c,line:94] __zbx_mem_realloc(): out of memory (requested 16 bytes)
4054:20200615:141021.384 [file:dbconfig.c,line:94] __zbx_mem_realloc(): out of memory (requested 16 bytes)
4084:20200615:141031.872 [file:dbconfig.c,line:94] __zbx_mem_realloc(): out of memory (requested 16 bytes)
4095:20200615:141042.368 [file:dbconfig.c,line:94] __zbx_mem_realloc(): out of memory (requested 16 bytes)
4106:20200615:141052.893 [file:dbconfig.c,line:94] __zbx_mem_realloc(): out of memory (requested 16 bytes)
4115:20200615:141103.381 [file:dbconfig.c,line:94] __zbx_mem_realloc(): out of memory (requested 16 bytes)
4133:20200615:141113.877 [file:dbconfig.c,line:94] __zbx_mem_realloc(): out of memory (requested 16 bytes)
4141:20200615:141124.379 [file:dbconfig.c,line:94] __zbx_mem_realloc(): out of memory (requested 16 bytes)

 

 

 

[ solved ]

 

 

zabbix_server.conf에서 Size of configuration cache가 기본 8M 정도에서 2G정도로 충분히 늘려주고 해결

 

 

### 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=2G