[ZBX-22020] Zabbix server crashing after OS updates with error: cannot connect to service manager service: Cannot connect to service "service": [111] Connection refused. Created: 2022 Dec 02  Updated: 2022 Dec 03  Resolved: 2022 Dec 03

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: None
Affects Version/s: 6.2.4, 6.2.5
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: Audrius Sadlauskas Assignee: Zabbix Support Team
Resolution: Won't fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Zabbix server,DB.frontend and proxy'ies on separate AlmaLinux 8 servers.



 Description   

After AlmaLinux 8 updates installation.

Zabbix server after start works for ~ 2min. and crashing with error

"cannot connect to service manager service: Cannot connect to service "service": [111] Connection refused."

Was able to upgrade zabbix packages to 6.2.5 but the same problem.

Proxies does not have this problem.

 



 Comments   
Comment by Audrius Sadlauskas [ 2022 Dec 02 ]

Found resolution.

After carefully looking to zabbix_server.log found errors:

3359:20221202:131913.355 1: /lib64/libc.so.6(__libc_start_main+0xe5) [0x7ff74e115d85]
  3359:20221202:131913.355 0: /usr/sbin/zabbix_server: trapper #5 [processing data](_start+0x2e) [0x55f7f77a878e]
  3359:20221202:131913.355 file:dbcache.c,line:3933 __zbx_shmem_malloc(): out of memory (requested 48 bytes)
  3359:20221202:131913.355 file:dbcache.c,line:3933 __zbx_shmem_malloc(): please increase HistoryIndexCacheSize configuration parameter
  3310:20221202:131913.361 One child process died (PID:3359,exitcode/signal:1). Exiting ...
  3310:20221202:131913.407 PROCESS EXIT: 3359
  3311:20221202:131913.407 HA manager has been paused
zabbix_server [3310]: Error waiting for process with PID 3359: [10] No child processes

I was not lucky as at the same time (when updated OS and restarted zabbix-server) hit HistoryCache limits ....

Changed History cache parameters to :

HistoryCacheSize=160M
HistoryIndexCacheSize=40M

And now zabbix_server not crashing .

 

 

Comment by Andrei Gushchin (Inactive) [ 2022 Dec 03 ]

Thank you for the update.

Nothing to fix. Just some misconfiguration.

Generated at Mon Apr 28 10:41:52 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.