[ZBX-23690] Utilization of history syncer processes 100% when creating and updating many maintenances Created: 2023 Nov 10 Updated: 2024 Oct 04 Resolved: 2024 Jun 06 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | 6.4.7 |
Fix Version/s: | 6.4.16rc1, 7.0.1rc1, 7.2.0alpha1 |
Type: | Problem report | Priority: | Critical |
Reporter: | Yurii Polenok | Assignee: | Andris Zeila |
Resolution: | Fixed | Votes: | 2 |
Labels: | maintenance | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
PostgreSQL 14.5 |
Attachments: |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
||||
Issue Links: |
|
||||
Team: | |||||
Sprint: | S24-W10/11, S24-W12/13, S24-W14/15, S24-W16/17, S24-W18/19, S24-W20/21, S24-W22/23 | ||||
Story Points: | 2 |
Description |
Comments |
Comment by Andrei Gushchin (Inactive) [ 2023 Nov 13 ] | ||||||
Hello Yurii, How often do you do maintenance update? Best regards, | ||||||
Comment by Yurii Polenok [ 2023 Nov 13 ] | ||||||
Hello, Such maintenances occur almost every weekday. But apply to a different number of hosts. Only slow queries in Zabbix server logs:
Example of maintenance you may find on screenshoot in this Issue. | ||||||
Comment by Vladislavs Sokurenko [ 2023 Dec 15 ] | ||||||
Could you please be so kind to provide prof_enable output with ZBX-23690-6.4-1 1.diff Are there many events with tags ? yuriip ? | ||||||
Comment by Vladislavs Sokurenko [ 2023 Dec 15 ] | ||||||
Most likely problem with matching each event to many maintenances using tags for each host. It should be checked if can be optimised. | ||||||
Comment by Yurii Polenok [ 2024 Jan 03 ] | ||||||
Test package installed in dev env. If it works without problems it will be installed in prod on Monday. Each event has tags. | ||||||
Comment by Andris Zeila [ 2024 Jan 08 ] | ||||||
Could you please check attached patch replace_shared_table_lock_with_row_lock_for_update.diff | ||||||
Comment by Andris Zeila [ 2024 Jan 15 ] | ||||||
The optimize_host_maintenance_index.diff | ||||||
Comment by Vladislavs Sokurenko [ 2024 Jan 26 ] | ||||||
Could you please be so kind and provide profiling information (prof_enable) for history syncers with optimize_host_maintenance_index_prof-2.diff | ||||||
Comment by Yurii Polenok [ 2024 Mar 15 ] | ||||||
Hello, | ||||||
Comment by Andris Zeila [ 2024 May 24 ] | ||||||
Released
|