I setup a Zabbix server as a VM in Vmware 6.7. After adding quite a of our switches to Zabbix the server no longer starts. Looking at the logs it states I need to increase my cache size limit, which I have done, now to 15GB, which seems excessive, however it still fails to start, I am not that knowledgeable on Linux so I am learning as I go.
I have attached the config to this post, if anyone can help it would be much appreciated.
I have attached the config to this post, if anyone can help it would be much appreciated.
Code:
2008:20221209:131504.601 ================================ 2008:20221209:131504.601 === Backtrace: === 2008:20221209:131504.602 16: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](zbx_backtrace+0x3f) [0x5614e750ae24] 2008:20221209:131504.602 15: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](__zbx_shmem_realloc+0xe8) [0x5614e75060d1] 2008:20221209:131504.602 14: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](+0x1f7f46) [0x5614e7487f46] 2008:20221209:131504.602 13: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](zbx_hashset_reserve+0xc1) [0x5614e750dfd0] 2008:20221209:131504.602 12: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](zbx_hashset_insert_ext+0xec) [0x5614e750e245] 2008:20221209:131504.602 11: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](zbx_hashset_insert+0x2d) [0x5614e750e157] 2008:20221209:131504.602 10: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](DCfind_id+0x86) [0x5614e748880a] 2008:20221209:131504.602 9: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](+0x202c92) [0x5614e7492c92] 2008:20221209:131504.602 8: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](DCsync_configuration+0x12bc) [0x5614e7495a38] 2008:20221209:131504.602 7: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](dbconfig_thread+0x14f) [0x5614e7313872] 2008:20221209:131504.602 6: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](zbx_thread_start+0x37) [0x5614e7517941] 2008:20221209:131504.602 5: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](+0x7197e) [0x5614e730197e] 2008:20221209:131504.602 4: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](MAIN_ZABBIX_ENTRY+0x83e) [0x5614e7302b9a] 2008:20221209:131504.602 3: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](zbx_daemon_start+0x3b1) [0x5614e750aa3a] 2008:20221209:131504.602 2: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](main+0x36b) [0x5614e730121e] 2008:20221209:131504.602 1: /lib64/libc.so.6(__libc_start_main+0xf3) [0x7effeb49bcf3] 2008:20221209:131504.602 0: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](_start+0x2e) [0x5614e72ffd8e] 2008:20221209:131504.602 [file:dbconfig.c,line:97] __zbx_shmem_realloc(): out of memory (requested 366104 bytes) 2008:20221209:131504.602 [file:dbconfig.c,line:97] __zbx_shmem_realloc(): please increase CacheSize configuration parameter 2005:20221209:131504.605 One child process died (PID:2008,exitcode/signal:1). Exiting ... 2006:20221209:131505.094 HA manager has been paused 2006:20221209:131505.098 HA manager has been stopped 2005:20221209:131505.099 Zabbix Server stopped. Zabbix 6.2.3 (revision 98ee88fc19d). 2014:20221209:131515.326 Starting Zabbix Server. Zabbix 6.2.3 (revision 98ee88fc19d). 2014:20221209:131515.326 ****** Enabled features ****** 2014:20221209:131515.326 SNMP monitoring: YES 2014:20221209:131515.326 IPMI monitoring: YES 2014:20221209:131515.326 Web monitoring: YES 2014:20221209:131515.326 VMware monitoring: YES 2014:20221209:131515.326 SMTP authentication: YES 2014:20221209:131515.326 ODBC: YES 2014:20221209:131515.326 SSH support: YES 2014:20221209:131515.326 IPv6 support: YES 2014:20221209:131515.326 TLS support: YES 2014:20221209:131515.326 ****************************** 2014:20221209:131515.326 using configuration file: /etc/zabbix/zabbix_server.conf 2014:20221209:131515.336 current database version (mandatory/optional): 06020000/06020002 2014:20221209:131515.336 required mandatory version: 06020000 2015:20221209:131515.341 starting HA manager 2015:20221209:131515.344 HA manager started in active mode 2014:20221209:131515.344 server #0 started [main process] 2016:20221209:131515.345 server #1 started [service manager #1] 2017:20221209:131515.345 server #2 started [configuration syncer #1] 2017:20221209:131515.842 __mem_malloc: skipped 10 asked 366104 skip_min 568 skip_max 246680 2017:20221209:131515.842 === memory statistics for configuration cache === 2017:20221209:131515.842 free chunks of size >= 256 bytes: 10 2017:20221209:131515.842 min chunk size: 568 bytes 2017:20221209:131515.842 max chunk size: 246680 bytes 2017:20221209:131515.842 memory of total size 29195520 bytes fragmented into 272409 chunks 2017:20221209:131515.843 of those, 369896 bytes are in 10 free chunks 2017:20221209:131515.843 of those, 28825624 bytes are in 272399 used chunks 2017:20221209:131515.843 of those, 4358528 bytes are used by allocation overhead 2017:20221209:131515.843 ================================ 2017:20221209:131515.843 === Backtrace: === 2017:20221209:131515.844 16: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](zbx_backtrace+0x3f) [0x556ca3769e24] 2017:20221209:131515.844 15: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](__zbx_shmem_realloc+0xe8) [0x556ca37650d1] 2017:20221209:131515.844 14: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](+0x1f7f46) [0x556ca36e6f46] 2017:20221209:131515.844 13: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](zbx_hashset_reserve+0xc1) [0x556ca376cfd0] 2017:20221209:131515.844 12: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](zbx_hashset_insert_ext+0xec) [0x556ca376d245] 2017:20221209:131515.844 11: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](zbx_hashset_insert+0x2d) [0x556ca376d157] 2017:20221209:131515.844 10: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](DCfind_id+0x86) [0x556ca36e780a] 2017:20221209:131515.844 9: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](+0x202c92) [0x556ca36f1c92] 2017:20221209:131515.844 8: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](DCsync_configuration+0x12bc) [0x556ca36f4a38] 2017:20221209:131515.844 7: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](dbconfig_thread+0x14f) [0x556ca3572872] 2017:20221209:131515.844 6: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](zbx_thread_start+0x37) [0x556ca3776941] 2017:20221209:131515.844 5: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](+0x7197e) [0x556ca356097e] 2017:20221209:131515.844 4: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](MAIN_ZABBIX_ENTRY+0x83e) [0x556ca3561b9a] 2017:20221209:131515.844 3: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](zbx_daemon_start+0x3b1) [0x556ca3769a3a] 2017:20221209:131515.844 2: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](main+0x36b) [0x556ca356021e] 2017:20221209:131515.844 1: /lib64/libc.so.6(__libc_start_main+0xf3) [0x7f8d4f317cf3] 2017:20221209:131515.844 0: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](_start+0x2e) [0x556ca355ed8e] 2017:20221209:131515.844 [file:dbconfig.c,line:97] __zbx_shmem_realloc(): out of memory (requested 366104 bytes) 2017:20221209:131515.844 [file:dbconfig.c,line:97] __zbx_shmem_realloc(): please increase CacheSize configuration parameter 2014:20221209:131515.847 One child process died (PID:2017,exitcode/signal:1). Exiting ... 2015:20221209:131515.847 HA manager has been paused 2015:20221209:131515.851 HA manager has been stopped 2014:20221209:131515.852 Zabbix Server stopped. Zabbix 6.2.3 (revision 98ee88fc19d)
like 1G so that we eliminate huge memory allocation problems.
Comment