Ad Widget

Collapse

Housekeeping process takes too long

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sanq
    Junior Member
    • Apr 2021
    • 15

    #1

    Housekeeping process takes too long

    Hi all!
    I'm sending friendly greetings to zabbix users

    This is the last three times of my housekeeping log

    Code:
    2785721:20240527:212006.914 executing housekeeper
    2785721:20240528:013619.811 housekeeper [deleted 73198228 hist/trends, 3351457 items/triggers, 0 events, 1013 problems, 0 sessions, 0 alarms, 0 audit, 0 autoreg_host, 0 records in 15372.867902 sec, idle for 3 hour(s)]
    2785721:20240528:043620.006 executing housekeeper
    2785721:20240528:090918.218 housekeeper [deleted 219559765 hist/trends, 0 items/triggers, 0 events, 336 problems, 0 sessions, 0 alarms, 0 audit, 0 autoreg_host, 0 records in 16378.184130 sec, idle for 3 hour(s)]
    3409890:20240528:224803.992 executing housekeeper
    3409890:20240529:061928.571 housekeeper [deleted 263342814 hist/trends, 332081 items/triggers, 171 events, 1315 problems, 4 sessions, 0 alarms, 0 audit, 0 autoreg_host, 0 records in 27084.554812 sec, idle for 3 hour(s)]
    takes 4hours / 5.5hours / 7.5hours

    As you can see, its organizing a lot of collection values periodically and this takes a very long time.
    And while this is done, Utilization of housekeeper processes will continue to remain at 100%.

    Is there no problem with this? Does it affect the collection of other items by any chance?
    Or is it possible to change it to perform more quickly and reliably by changing the parameters?


    Below is the Housekeeper setting of my zabbix_server.conf

    Code:
    HousekeepingFrequency=1
    MaxHousekeeperDelete=50000
    And I specified in my housekeeping setup to store 1 day capacity internal data, 30 days history data, 365 days trend data.

    I'm using postgresql-14 version of DB, and I also applied the timescale DB extension.
    Last edited by sanq; 29-05-2024, 05:41.
Working...