PDA

View Full Version : serious performance difference between 1.1beta8 and 1.0


roosit
23-04-2006, 11:15
I switched to 1.1beta8 hoping to get improved performance and functionality and have an easy update to the final 1.1.

But with nearly the same settings i get a much HIGHER load on the database server.

I have browsed through de db log file (see link) and found that there were no combined inserts. This should be considered using.

Nearly 4000 inserts in 15min, thats 4 insert per s., you can easily do 4 to 10 inserts at one time.
I also saw the double amount of updates 8000 in 15min, that's 8 per s.

What is wrong with my setup? Or what is wrong with 1.1?


measurement 1 (10:48-11:03)
======================
20 servers monitored with 5s cpu load and 30s temp logging.
db server with 2.8GHz + 1GB
When enabling load rises from 0.00 to 1.23!!!

019270:20060422:104817 Starting zabbix_server. ZABBIX 1.1beta8.
019275:20060422:104817 server #1 started [Alerter]
019276:20060422:104817 server #2 started [Timer]
019277:20060422:104817 server #3 started [ICMP pinger]
019278:20060422:104817 server #4 started [Escalator]
019279:20060422:104817 server #5 started [Poller. SNMP:OFF]
019280:20060422:104817 server #6 started [Trapper]
019281:20060422:104817 server #7 started [Trapper]
019282:20060422:104817 server #8 started [Trapper]
019283:20060422:104817 server #9 started [Trapper]
019270:20060422:104818 server #0 started [Housekeeper]
019270:20060422:104818 ZABBIX server is up.
019287:20060422:104818 server #10 started [Trapper]
019270:20060422:110304 One server process died. Shutting down...
019270:20060422:110304 ZABBIX server is down.

mysql query log: http://www.roosit.nl/marc/mysql-log-measurement1.zip


measurement 2
===========
This shows that when enabling the zabbix_server the load rises from 0.00 to an average of 0.93 on the db server.

+-----+--------------+----------------------+-------------+---------+------+-------+------------------+
| Id | User | Host | db | Command | Time | State | Info |
+-----+--------------+----------------------+-------------+---------+------+-------+------------------+
| 1 | ritmonitor | 212.26.193.21:40105 | rit_monitor | Sleep | 211 | | |
| 56 | ritmonitor | 212.26.193.21:40114 | rit_monitor | Sleep | 417 | | |
| 99 | ritmonitor | 212.26.193.21:40123 | rit_monitor | Sleep | 25 | | |
| 161 | ritmonitor | 212.26.193.21:40136 | rit_monitor | Sleep | 261 | | |
| 314 | ritmonitor | 212.26.193.21:40153 | rit_monitor | Sleep | 56 | | |
| 374 | ritmonitor | 212.19.193.130:35992 | rit_monitor | Sleep | 0 | | |
| 375 | ritmonitor | 212.19.193.130:35993 | rit_monitor | Sleep | 1 | | |
| 376 | ritmonitor | 212.19.193.130:35994 | rit_monitor | Sleep | 6 | | |
| 377 | ritmonitor | 212.19.193.130:35995 | rit_monitor | Sleep | 6 | | |
| 378 | ritmonitor | 212.19.193.130:35996 | rit_monitor | Sleep | 5 | | |
| 380 | ritmonitor | 212.19.193.130:35998 | rit_monitor | Sleep | 2 | | |
| 458 | webmailhorde | 212.19.193.160:42947 | webmail | Sleep | 215 | | |
| 520 | ritmonitor | 212.26.193.21:40179 | rit_monitor | Sleep | 148 | | |
| 526 | ritmonitor | 212.26.193.21:40182 | rit_monitor | Sleep | 149 | | |
| 685 | ritmonitor | 212.26.193.21:40202 | rit_monitor | Sleep | 87 | | |
| 686 | ritmonitor | 212.26.193.21:40203 | rit_monitor | Sleep | 87 | | |
| 832 | root | localhost | | Query | 0 | | show processlist |
+-----+--------------+----------------------+-------------+---------+------+-------+------------------+

Alexei
26-06-2006, 10:50
What is wrong with my setup? Or what is wrong with 1.1?

You're not running final 1.1, it is 1.1beta8!

Some beta releases have serious issues with handling of timeouts which caused excessive processor and resource usage. Switch to ZABBIX 1.1 stable, compare with 1.0 and show your results (please at least for 1-2 hours, otherwise high processor load could be result of housekeeper). Thanks.

roosit
10-07-2006, 15:58
I have the same problems with 1.1 see:

http://www.zabbix.com/forum/showthread.php?t=3286&highlight=performance

sauron
11-07-2006, 07:38
Where install MySQL server ?