[ZBX-21558] zabbix_server crash and can't be restarted until killing ha manager Created: 2022 Sep 02  Updated: 2024 Apr 10  Resolved: 2022 Sep 12

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Server (S)
Affects Version/s: 6.0.7
Fix Version/s: 6.0.9rc1, 6.2.3rc1, 6.4.0alpha1, 6.4 (plan)

Type: Problem report Priority: Major
Reporter: Mathieu MD Assignee: Andris Zeila
Resolution: Fixed Votes: 2
Labels: restart, systemd
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Ubuntu 22.04.1 LTS


Attachments: File zabbix_server.log    
Issue Links:
Duplicate
is duplicated by ZBX-21568 Zabbix crashing daily (Got signal SIG... Closed
is duplicated by ZBX-22508 Zabbix not running Closed
Sub-task
Team: Team A
Sprint: Sprint 92 (Sep 2022)
Story Points: 1

 Description   

Every once in a while zabbix_server would crash (sample related log attached), leaving a single process zabbix_server: ha manager behind.

Without killing -9 that process, it's impossible to do systemctl restart zabbix-server (it would timeout).

Therefore, the Restart=on-failure of its systemd unit is useless, unfortunately.



 Comments   
Comment by Vladislavs Sokurenko [ 2022 Sep 05 ]

Could you please be so kind and attach obj dump ?
This listing can be produced with, e.g., objdump -DSswx zabbix_server

Comment by Mathieu MD [ 2022 Sep 05 ]

Hello Vladislavs,
How exactly am I supposed to retrieve this dump? If I do objdump -DSswx $(which zabbix_server) >~/zabbix_server.dump, I get a 105MB ASCII file. Is that this file you want?

If yes, then it's available for 7 days here: https://drop.infini.fr/r/t2oLTJg0CW#rtPGRReBCO6d5s/EkJgJNi1ueuBUjOaGm6sIXoI5yrw=

Comment by Andris Zeila [ 2022 Sep 06 ]

This might happen when value cache has not enough memory and a new item was being cached. The fix is being prepared.

Comment by Mathieu MD [ 2022 Sep 06 ]

Thanks for your quick diagnostic and answer.

Until the fix is released, I increased ValueCacheSize from default 8M to 128M.

Comment by Andris Zeila [ 2022 Sep 09 ]

Released ZBX-21558 in:

  • pre-5.0.28rc1 c260d069976
  • pre-6.0.9rc1 2be474365a7
  • pre-6.2.3rc1 919a3c2ae63
  • pre-6.4.0alpha1 b09c46c6ad3
Generated at Wed Jan 22 04:16:05 EET 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.