Ad Widget

Collapse

Zabbix 1.6.4 & Httpd & Mysql CPU Load

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sheen
    Junior Member
    • Apr 2009
    • 24

    #1

    Zabbix 1.6.4 & Httpd & Mysql CPU Load

    Hello all,

    I've just installed Zabbix 1.6.4 on a P4 2.4 Ghz & 512 Mb RAM with a CentOS based distro.
    Zabbix configuration is set by default.

    When I'm on Zabbix http frontend, every 30s I got about 8 httpd request and one MySQL request, I think it's normal, webpage are refreshed

    But each httpd request takes between 10% and 20% of CPU Load, after 10min, average system charge reach about 4.00 which is huge.

    I've read a lots of topics concerning optimisations of Apache and MySQL, I've tried differents parameters into /etc/my.cnf and /etc/httpd/httpd.conf but CPU charge is very heavy yet.

    Sorry I can't post "httpd.conf" and "my.cnf" because I'm currently not at work but in studies, I'll post them later.


    Httpd request should take 2/3% of CPU instead of 10/20%


    So I have some questions :
    - I've read about Zabbix Memory Leak since 1.6.3, maybe should I downgrade ?
    - My Php Version is not the latest one, I have the 5.1.6, maybe should I install the latest version ?
    - My MySQL database is on the same Hard Disk than the system, maybe should I move it into another physical disk or through the network ?
    - Maybe my P4 2.4 with 512 Mb RAM is too much for Zabbix ? (I don't think so)

    Thanks for your replies
  • swaterhouse
    Senior Member
    • Apr 2006
    • 268

    #2
    A P4 with 512 MB RAM is going to struggle with what I assume is CentOS 5 (based on you MySQL version), with ZABBIX and MySQL on the same box (never mind the same disk). If possible move MySQL to another box that will help immensly.

    Comment

    • sheen
      Junior Member
      • Apr 2009
      • 24

      #3
      Thanks for your reply.
      I'll try to move MySQL to another Box or another HD, if the problem remain, I'll guess I have to try with a more powerfull computer.

      Let's try.


      Edit : I've tried with 1.6.2 instead of 1.6.4 it works like a charm ! I think I'll keep this version and move my database to another HD.
      Last edited by sheen; 22-04-2009, 16:49.

      Comment

      • ajszi
        Junior Member
        • Sep 2008
        • 5

        #4
        The situation is the same here as well.

        CPU: 4 core Intel(R) Xeon(R) CPU E5430 @ 2.66GHz
        RAM: 4GB
        MySQL: 5.1

        The server's load is totally normal IF the frontend is not used.
        If it's opened on 1-2 desktops it will go up immediately to 3-5.

        Anyone else facing this kind of problem?

        Already tweaked mysql, and I'm using lighttpd (apache was worse).

        Comment

        • sheen
          Junior Member
          • Apr 2009
          • 24

          #5
          Try 1.6.2 instead of 1.6.4
          On my old P4 there is a huge difference

          Comment

          • krimson
            Member
            • Sep 2008
            • 49

            #6
            Originally posted by ajszi
            The situation is the same here as well.

            CPU: 4 core Intel(R) Xeon(R) CPU E5430 @ 2.66GHz
            RAM: 4GB
            MySQL: 5.1

            The server's load is totally normal IF the frontend is not used.
            If it's opened on 1-2 desktops it will go up immediately to 3-5.

            Anyone else facing this kind of problem?

            Already tweaked mysql, and I'm using lighttpd (apache was worse).
            I am also seeing increased load on the database server. Did not show this behaviour on 1.6.2.

            Comment

            • bimind
              Junior Member
              • Sep 2008
              • 25

              #7
              Same problem.

              Comment

              Working...