Its happening multiple times in a week where my zabbix setup goes 100% housekeeping processes and the load on my database is WAY too high.
Heres some info about my setup:
Housekeeping parameters:

Housekeeping / History Sync (48H):
System load for the databases:
So yea, I'm clueless to whats going on and im pretty sure this isnt normal behavior.
Heres some info about my setup:
- We running in HA 2 web/backend nodes, we are running on a 3 node postgres cluster (HA with patroni)
- PostgreSQL version is: psql (16.4 (Ubuntu 16.4-1.pgdg22.04+1))
- Zabbix server version 7.0.3
- Number of hosts (enabled/disabled) 1676
- Number of items (enabled/disabled/not supported) 194923
- Number of triggers (enabled/disabled [problem/ok]) 118752
- Required server performance, new values per second 3020.79
- VPS: Around 2600
LogFile=/var/log/zabbix/zabbix_server.log
LogFileSize=0
DebugLevel=2
PidFile=/run/zabbix/zabbix_server.pid
SocketDir=/run/zabbix
DBHost=redacted
DBName=zabbix
DBUser=redacted
DBPassword=redacted
DBPort=5001
StartPollers=10
StartAgentPollers=5
StartPollersUnreachable=10
StartPingers=5
SNMPTrapperFile=/var/log/snmptrap/snmptrap.log
CacheSize=1G
HistoryIndexCacheSize=128M
TrendCacheSize=24M
ValueCacheSize=128M
Timeout=4
ExternalScripts=/usr/lib/zabbix/externalscripts
FpingLocation=/usr/bin/fping
Fping6Location=/usr/bin/fping6
LogSlowQueries=3000
StatsAllowedIP=127.0.0.1
EnableGlobalScripts=0
HANodeName=redacted
NodeAddress=redacted:10051
LogFileSize=0
DebugLevel=2
PidFile=/run/zabbix/zabbix_server.pid
SocketDir=/run/zabbix
DBHost=redacted
DBName=zabbix
DBUser=redacted
DBPassword=redacted
DBPort=5001
StartPollers=10
StartAgentPollers=5
StartPollersUnreachable=10
StartPingers=5
SNMPTrapperFile=/var/log/snmptrap/snmptrap.log
CacheSize=1G
HistoryIndexCacheSize=128M
TrendCacheSize=24M
ValueCacheSize=128M
Timeout=4
ExternalScripts=/usr/lib/zabbix/externalscripts
FpingLocation=/usr/bin/fping
Fping6Location=/usr/bin/fping6
LogSlowQueries=3000
StatsAllowedIP=127.0.0.1
EnableGlobalScripts=0
HANodeName=redacted
NodeAddress=redacted:10051
Housekeeping / History Sync (48H):
System load for the databases:
So yea, I'm clueless to whats going on and im pretty sure this isnt normal behavior.
Just start from the time, where that DB load shot up... It may be quite a lot of logs, but grep and grep -v are your friends..
Comment