zabbix cpu usage issues

Discussion in 'Server Operation' started by tmaleshafske, Aug 8, 2008.

  1. tmaleshafske

    tmaleshafske New Member

    Need some help here, but In previous installations from the repositories I haven't had these problems

    Had to reload my zabbix server today from scratch. I had previously been using Hardy 8.04 LTS, but decided to use Debian Etch. I installed originally from zabbix-server and frontend from the repositories, but it was missing some features that I needed, so I uninstalled and installed the latest source package from zabbix.

    before my server loads were usually around .46-.50 those loads are with 9 hosts being monitored.

    now my server loads are as shown I have also seen them as high as 1.86 over 1 minute
    Code:
    top - 19:11:48 up 54 min,  2 users,  load average: 0.93, 1.17, 1.25
    Tasks:  91 total,   2 running,  89 sleeping,   0 stopped,   0 zombie
    Cpu(s):  3.0%us,  1.2%sy,  0.2%ni, 18.2%id, 76.9%wa,  0.2%hi,  0.2%si,  0.0%st
    Mem:   2076928k total,   229684k used,  1847244k free,    36176k buffers
    Swap:  2650684k total,        0k used,  2650684k free,   122824k cached
    
      PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                          
     2960 mysql     23   0  126m  26m 5592 S  3.5  1.3   1:16.76 mysqld                                           
     2792 zabbix    20   5  8280 2680 1700 S  0.2  0.1   0:02.74 zabbix_server                                    
     2796 zabbix    20   5  8280 2672 1692 S  0.2  0.1   0:02.43 zabbix_server                                    
     2826 root      15   0  2228 1132  856 S  0.2  0.1   0:00.07 top                                              
        1 root      15   0  1948  636  544 S  0.0  0.0   0:00.99 init                                             
        2 root      RT   0     0    0    0 S  0.0  0.0   0:00.00 migration/0                                      
        3 root      34  19     0    0    0 S  0.0  0.0   0:00.00 ksoftirqd/0                                      
        4 root      10  -5     0    0    0 S  0.0  0.0   0:00.01 events/0                                         
        5 root      20  -5     0    0    0 S  0.0  0.0   0:00.00 khelper                                          
        6 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 kthread                                          
        9 root      10  -5     0    0    0 S  0.0  0.0   0:00.02 kblockd/0                                        
       10 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 kacpid                                           
      126 root      10  -5     0    0    0 S  0.0  0.0   0:00.01 kseriod                                          
      162 root      25   0     0    0    0 S  0.0  0.0   0:00.00 pdflush                                          
      163 root      15   0     0    0    0 S  0.0  0.0   0:00.00 pdflush                                          
      164 root      20  -5     0    0    0 S  0.0  0.0   0:00.00 kswapd0                                          
      165 root      20  -5     0    0    0 S  0.0  0.0   0:00.00 aio/0                          
    I can see the real source of the problem appearing to be with mysql

    Anyone have any ideas on optimizing
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Any errors or warnings in your logs?

    Do you have munin installed? This makes it easier to find out the real cause of the problem.
     
  3. tmaleshafske

    tmaleshafske New Member

    Nah nothing in the Log files

    Did find a work around after doing some googling.

    There have been a lot of reports when running the frontend and mysql on the same server. I have liberty of being able to spread out my installation. Actually works very nicely.
     

Share This Page