Hi,
I have a performance issue with Zabbix.
Every 4 weeks/28 days, the history syncer internal proccesses go up to +80% for a few hours, and during this period, when housekeeping happens, it also goes to 100%, see graph below. Light blue is history syncer processes, orange is housekeeping.
You can see housekeeping being executed every hour, but normally it only runs for a minute.

During the high load, Zabbix performance is very bad, and a lot of triggers fire due to slow response of the checks.
I'm not sure what causes this.
We run zabbix in a docker environment. Mysql is used as database.
Zabbix server env file (non default values):
ZBX_STARTPOLLERSUNREACHABLE=50
ZBX_STARTTRAPPERS=20
ZBX_CACHESIZE=192M
ZBX_STARTDBSYNCERS=12
ZBX_HISTORYCACHESIZE=192M
ZBX_HISTORYINDEXCACHESIZE=64M
ZBX_TRENDCACHESIZE=64M
ZBX_VALUECACHESIZE=96M
ZBX_TIMEOUT=20
ZBX_LOGSLOWQUERIES=1000
Zabbix proxy config (non-default values):
ConfigFrequency=60
StartPollers=200
StartPollersUnreachable=100
CacheSize=64M
StartDBSyncers=4
HistoryCacheSize=128M
HistoryIndexCacheSize=32M
Timeout=20
This is a small environment, 31 hosts and <5000 items (3750 enabled).
Mysql data files sizes:
11.1 GiB - history_uint.ibd
3.0 GiB - history.ibd
2.5 GiB - history_text.ibd
1.1 GiB - trends_uint.ibd
Anyone knows what could've caused this, or how to fix this?
Thanks in advance!
I have a performance issue with Zabbix.
Every 4 weeks/28 days, the history syncer internal proccesses go up to +80% for a few hours, and during this period, when housekeeping happens, it also goes to 100%, see graph below. Light blue is history syncer processes, orange is housekeeping.
You can see housekeeping being executed every hour, but normally it only runs for a minute.
During the high load, Zabbix performance is very bad, and a lot of triggers fire due to slow response of the checks.
I'm not sure what causes this.
We run zabbix in a docker environment. Mysql is used as database.
Zabbix server env file (non default values):
ZBX_STARTPOLLERSUNREACHABLE=50
ZBX_STARTTRAPPERS=20
ZBX_CACHESIZE=192M
ZBX_STARTDBSYNCERS=12
ZBX_HISTORYCACHESIZE=192M
ZBX_HISTORYINDEXCACHESIZE=64M
ZBX_TRENDCACHESIZE=64M
ZBX_VALUECACHESIZE=96M
ZBX_TIMEOUT=20
ZBX_LOGSLOWQUERIES=1000
Zabbix proxy config (non-default values):
ConfigFrequency=60
StartPollers=200
StartPollersUnreachable=100
CacheSize=64M
StartDBSyncers=4
HistoryCacheSize=128M
HistoryIndexCacheSize=32M
Timeout=20
This is a small environment, 31 hosts and <5000 items (3750 enabled).
Mysql data files sizes:
11.1 GiB - history_uint.ibd
3.0 GiB - history.ibd
2.5 GiB - history_text.ibd
1.1 GiB - trends_uint.ibd
Anyone knows what could've caused this, or how to fix this?
Thanks in advance!
Comment