Hi all...
I am having some issues with the Zabbix performance and was wondering if you guys could help.
My setup is pretty simple and small:
The Zabbix server is reporting CPU spikes (it happens twice, three times a day... it goes back to "normal" by itself), as follow:


On the apache side, I don't see any issues apart from lots and lots of connections. Those connections are from IP's that I know/trust, so it is not spam or an attack.
Using strace I am able to see some weird stuff like (Attention to the "No such file or directory" part)
:
Apache logs seems normal. What could be happening? or this is just Zabbix being busy? I don't think this is normal... otherwise imagine a setup with +8k hosts? not even a supercomputer would handle Zabbix :P
Thanks in advance!
I am having some issues with the Zabbix performance and was wondering if you guys could help.
My setup is pretty simple and small:
- Zabbix Server 3.4 with Mysql (VM)
- 16GB RAM
- SSDs
- CentOS 7.5
- Xeon X5650 @ 2.67GHz - 2 vCores
- CacheSize=2G
- HistoryCacheSize=1G
- Timeout=4
- LogSlowQueries=3000
- Zabbix server, Apache, and Mysql are in the same VM.
- Mysql has replication enabled
- Mysql is installed in a dedicated Raid SSD volume
- Apache version is 2.4.6
- Monitoring 34 hosts
- Apache server-status is enabled
- 25 web scenarios
- 4 Bash scripts being used constantly as external check service
- 4k triggers
- NVPS: 51.78
- There is 1 Zabbi Proxy in another country connected via a Site-to-Site VPN to this Zabbix Server
The Zabbix server is reporting CPU spikes (it happens twice, three times a day... it goes back to "normal" by itself), as follow:
On the apache side, I don't see any issues apart from lots and lots of connections. Those connections are from IP's that I know/trust, so it is not spam or an attack.
Using strace I am able to see some weird stuff like (Attention to the "No such file or directory" part)
:
Code:
stat("/usr/share/zabbix/include/classes/export/writers/CWidgetFieldTags.php", 0x7ffd6dcee280) = -1 ENOENT (No such file or directory)
stat("/usr/share/zabbix/include/classes/export/elements/CWidgetFieldTags.php", 0x7ffd6dcee280) = -1 ENOENT (No such file or directory)
stat("/usr/share/zabbix/include/classes/graphdraw/CWidgetFieldTags.php", 0x7ffd6dcee280) = -1 ENOENT (No such file or directory)
stat("/usr/share/zabbix/include/classes/import/CWidgetFieldTags.php", 0x7ffd6dcee280) = -1 ENOENT (No such file or directory)
stat("/usr/share/zabbix/include/classes/import/converters/CWidgetFieldTags.php", 0x7ffd6dcee280) = -1 ENOENT (No such file or directory)
stat("/usr/share/zabbix/include/classes/import/importers/CWidgetFieldTags.php", 0x7ffd6dcee280) = -1 ENOENT (No such file or directory)
stat("/usr/share/zabbix/include/classes/import/preprocessors/CWidgetFieldTags.php", 0x7ffd6dcee280) = -1 ENOENT (No such file or directory)
stat("/usr/share/zabbix/include/classes/import/readers/CWidgetFieldTags.php", 0x7ffd6dcee280) = -1 ENOENT (No such file or directory)
stat("/usr/share/zabbix/include/classes/import/validators/CWidgetFieldTags.php", 0x7ffd6dcee280) = -1 ENOENT (No such file or directory)
stat("/usr/share/zabbix/include/classes/items/CWidgetFieldTags.php", 0x7ffd6dcee280) = -1 ENOENT (No such file or directory)
stat("/usr/share/zabbix/include/classes/triggers/CWidgetFieldTags.php", 0x7ffd6dcee280) = -1 ENOENT (No such file or directory)
stat("/usr/share/zabbix/include/classes/server/CWidgetFieldTags.php", 0x7ffd6dcee280) = -1 ENOENT (No such file or directory)
stat("/usr/share/zabbix/include/classes/screens/CWidgetFieldTags.php", 0x7ffd6dcee280) = -1 ENOENT (No such file or directory)
stat("/usr/share/zabbix/include/classes/services/CWidgetFieldTags.php", 0x7ffd6dcee280) = -1 ENOENT (No such file or directory)
stat("/usr/share/zabbix/include/classes/sysmaps/CWidgetFieldTags.php", 0x7ffd6dcee280) = -1 ENOENT (No such file or directory)
stat("/usr/share/zabbix/include/classes/helpers/CWidgetFieldTags.php", 0x7ffd6dcee280) = -1 ENOENT (No such file or directory)
stat("/usr/share/zabbix/include/classes/helpers/trigger/CWidgetFieldTags.php", 0x7ffd6dcee280) = -1 ENOENT (No such file or directory)
stat("/usr/share/zabbix/include/classes/macros/CWidgetFieldTags.php", 0x7ffd6dcee280) = -1 ENOENT (No such file or directory)
stat("/usr/share/zabbix/include/classes/tree/CWidgetFieldTags.php", 0x7ffd6dcee280) = -1 ENOENT (No such file or directory)
stat("/usr/share/zabbix/include/classes/html/CWidgetFieldTags.php", 0x7ffd6dcee280) = -1 ENOENT (No such file or directory)
stat("/usr/share/zabbix/include/classes/html/pageheader/CWidgetFieldTags.php", 0x7ffd6dcee280) = -1 ENOENT (No such file or directory)
stat("/usr/share/zabbix/include/classes/html/widget/CWidgetFieldTags.php", 0x7ffd6dcee280) = -1 ENOENT (No such file or directory)
Thanks in advance!
Comment