[ZBX-24785] Zabbix server - housekeeper long execution Created: 2024 Jul 04 Updated: 2025 Jul 02 Resolved: 2025 Jul 02 |
|
| Status: | Closed |
| Project: | ZABBIX BUGS AND ISSUES |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Problem report | Priority: | Trivial |
| Reporter: | Martin Sadovy | Assignee: | Karlis Salins (Inactive) |
| Resolution: | Won't fix | Votes: | 5 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Description |
|
Steps to reproduce:
Result: Zabbix server: Utilization of housekeeper processes over 75% |
| Comments |
| Comment by Martin Sadovy [ 2024 Jul 08 ] |
|
Before the update from 6.4.15 to 7.0.0, housekeeper took about 5 seconds, after the update about 2 hours. Database version postgresql14-14.12, timescaledb-2-postgresql-14-2.10.3. Setting for housekeeper are not changed. |
| Comment by Martin Sadovy [ 2024 Jul 09 ] |
|
I have identified a potential misconfiguration in the Zabbix housekeeper settings. It appears that the housekeeper frequency value is being used as the limit in a SELECT query. This behavior seems incorrect. The issue seems to be in file housekeeper_server.c: Definition of function housekeeping_events(int now, int config_max_hk_delete) <<< second param is MaxHousekeeperDelete Calling housekeeping_events(now, housekeeper_args_in->config_housekeeping_frequency); <<< second param is HousekeepingFrequency Tested by changing values in zabbix server configuration:
|
| Comment by Steve Taylor [ 2025 Jan 11 ] |
|
i have the same issue sinse upgrading to 7
|
| Comment by Andy Binder [ 2025 Mar 05 ] |
|
Same issue for me. I upgraded from Zabbix 6 to 7 in Docker. |
| Comment by Valery [ 2025 Apr 11 ] |
|
housekeeper-6.2.1.txt The same problem after upgrading from 6.2.1 to 7.2.5 The difference is |
| Comment by Karlis Salins (Inactive) [ 2025 Jul 02 ] |
|
Hello. |