Hi, we have a problem with our Zabbix Server.
We tried as a possible solution different values og the CacheSize, but no one helps.
We get the follow error in the zabbix_server.log:
7154:20230522:164246.733 Starting Zabbix Server. Zabbix 5.0.20 (revision bf8d9f8abb).
7154:20230522:164246.733 ****** Enabled features ******
7154:20230522:164246.733 SNMP monitoring: YES
7154:20230522:164246.733 IPMI monitoring: YES
7154:20230522:164246.733 Web monitoring: YES
7154:20230522:164246.733 VMware monitoring: YES
7154:20230522:164246.733 SMTP authentication: YES
7154:20230522:164246.734 ODBC: YES
7154:20230522:164246.734 SSH support: YES
7154:20230522:164246.734 IPv6 support: YES
7154:20230522:164246.734 TLS support: YES
7154:20230522:164246.734 ******************************
7154:20230522:164246.734 using configuration file: /etc/zabbix/zabbix_server.conf
7154:20230522:164246.750 current database version (mandatory/optional): 05000000/05000005
7154:20230522:164246.750 required mandatory version: 05000000
7154:20230522:164246.787 server #0 started [main process]
7161:20230522:164246.788 server Home started [configuration syncer #1]
7161:20230522:164249.911 __mem_malloc: skipped 0 asked 24 skip_min 18446744073709551615 skip_max 0
7161:20230522:164249.911 [file:dbconfig.c,line:96] __zbx_mem_realloc(): out of memory (requested 16 bytes)
7161:20230522:164249.911 [file:dbconfig.c,line:96] __zbx_mem_realloc(): please increase CacheSize configuration parameter
7161:20230522:164249.911 === memory statistics for configuration cache ===
7161:20230522:164249.911 min chunk size: 18446744073709551615 bytes
7161:20230522:164249.911 max chunk size: 0 bytes
7161:20230522:164249.911 memory of total size 116342344 bytes fragmented into 1117189 chunks
7161:20230522:164249.911 of those, 0 bytes are in 0 free chunks
7161:20230522:164249.911 of those, 116342344 bytes are in 1117189 used chunks
7161:20230522:164249.911 of those, 17875008 bytes are used by allocation overhead
7161:20230522:164249.911 ================================
7161:20230522:164249.911 === Backtrace: ===
7161:20230522:164249.911 11: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](zbx_backtrace+0x3f) [0x55983e5e15e3]
7161:20230522:164249.911 10: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](__zbx_mem_realloc+0x160) [0x55983e5dc43a]
7161:20230522:164249.911 9: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](+0x19dd5c) [0x55983e5a1d5c]
7161:20230522:164249.911 8: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](+0x1a9740) [0x55983e5ad740]
7161:20230522:164249.911 7: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](DCsync_configuration+0x1157) [0x55983e5aea9b]
7161:20230522:164249.911 6: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](dbconfig_thread+0x116) [0x55983e45e094]
7161:20230522:164249.911 5: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](zbx_thread_start+0x37) [0x55983e5f09bc]
7161:20230522:164249.911 4: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](MAIN_ZABBIX_ENTRY+0xa51) [0x55983e44e66a]
7161:20230522:164249.911 3: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](daemon_start+0x2f5) [0x55983e5e11ef]
7161:20230522:164249.912 2: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](main+0x293) [0x55983e44dbce]
7161:20230522:164249.912 1: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xeb) [0x7f39de64e09b]
7161:20230522:164249.912 0: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](_start+0x2a) [0x55983e44cc9a]
7154:20230522:164249.922 One child process died (PID:7161,exitcode/signal:1). Exiting ...
7154:20230522:164249.937 syncing trend data...
7154:20230522:164249.937 syncing trend data done
7154:20230522:164249.938 Zabbix Server stopped. Zabbix 5.0.20 (revision bf8d9f8abb).
Actual parameter in the zabbix_server.cong is CacheSize=4G,
Total memory of the server is 8 Gb.
Can someone help us?
We tried as a possible solution different values og the CacheSize, but no one helps.
We get the follow error in the zabbix_server.log:
7154:20230522:164246.733 Starting Zabbix Server. Zabbix 5.0.20 (revision bf8d9f8abb).
7154:20230522:164246.733 ****** Enabled features ******
7154:20230522:164246.733 SNMP monitoring: YES
7154:20230522:164246.733 IPMI monitoring: YES
7154:20230522:164246.733 Web monitoring: YES
7154:20230522:164246.733 VMware monitoring: YES
7154:20230522:164246.733 SMTP authentication: YES
7154:20230522:164246.734 ODBC: YES
7154:20230522:164246.734 SSH support: YES
7154:20230522:164246.734 IPv6 support: YES
7154:20230522:164246.734 TLS support: YES
7154:20230522:164246.734 ******************************
7154:20230522:164246.734 using configuration file: /etc/zabbix/zabbix_server.conf
7154:20230522:164246.750 current database version (mandatory/optional): 05000000/05000005
7154:20230522:164246.750 required mandatory version: 05000000
7154:20230522:164246.787 server #0 started [main process]
7161:20230522:164246.788 server Home started [configuration syncer #1]
7161:20230522:164249.911 __mem_malloc: skipped 0 asked 24 skip_min 18446744073709551615 skip_max 0
7161:20230522:164249.911 [file:dbconfig.c,line:96] __zbx_mem_realloc(): out of memory (requested 16 bytes)
7161:20230522:164249.911 [file:dbconfig.c,line:96] __zbx_mem_realloc(): please increase CacheSize configuration parameter
7161:20230522:164249.911 === memory statistics for configuration cache ===
7161:20230522:164249.911 min chunk size: 18446744073709551615 bytes
7161:20230522:164249.911 max chunk size: 0 bytes
7161:20230522:164249.911 memory of total size 116342344 bytes fragmented into 1117189 chunks
7161:20230522:164249.911 of those, 0 bytes are in 0 free chunks
7161:20230522:164249.911 of those, 116342344 bytes are in 1117189 used chunks
7161:20230522:164249.911 of those, 17875008 bytes are used by allocation overhead
7161:20230522:164249.911 ================================
7161:20230522:164249.911 === Backtrace: ===
7161:20230522:164249.911 11: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](zbx_backtrace+0x3f) [0x55983e5e15e3]
7161:20230522:164249.911 10: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](__zbx_mem_realloc+0x160) [0x55983e5dc43a]
7161:20230522:164249.911 9: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](+0x19dd5c) [0x55983e5a1d5c]
7161:20230522:164249.911 8: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](+0x1a9740) [0x55983e5ad740]
7161:20230522:164249.911 7: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](DCsync_configuration+0x1157) [0x55983e5aea9b]
7161:20230522:164249.911 6: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](dbconfig_thread+0x116) [0x55983e45e094]
7161:20230522:164249.911 5: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](zbx_thread_start+0x37) [0x55983e5f09bc]
7161:20230522:164249.911 4: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](MAIN_ZABBIX_ENTRY+0xa51) [0x55983e44e66a]
7161:20230522:164249.911 3: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](daemon_start+0x2f5) [0x55983e5e11ef]
7161:20230522:164249.912 2: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](main+0x293) [0x55983e44dbce]
7161:20230522:164249.912 1: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xeb) [0x7f39de64e09b]
7161:20230522:164249.912 0: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](_start+0x2a) [0x55983e44cc9a]
7154:20230522:164249.922 One child process died (PID:7161,exitcode/signal:1). Exiting ...
7154:20230522:164249.937 syncing trend data...
7154:20230522:164249.937 syncing trend data done
7154:20230522:164249.938 Zabbix Server stopped. Zabbix 5.0.20 (revision bf8d9f8abb).
Actual parameter in the zabbix_server.cong is CacheSize=4G,
Total memory of the server is 8 Gb.
Can someone help us?
Comment