Ad Widget

Collapse

Zabbix bug? hat's why Mysql makes cpu loading so high when Monitor switch

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • exfish
    Junior Member
    • Jun 2009
    • 18

    #1

    Zabbix bug? hat's why Mysql makes cpu loading so high when Monitor switch

    zabbix 1.6.5
    p4 2.4 1.5G MEM

    About 60 hosts(half servers, and half switchs ), 1943 items

    Required server performance, new values per second 25.2115

    cpu loading around 60%.

    When Closed the half switchs:

    Cpu loading not more than 10%.
  • exfish
    Junior Member
    • Jun 2009
    • 18

    #2
    Sorry to submit too early.

    Than I found even the disabled most of item in the switch templates, the cpu still high. then I delelte all disabled items, cpu loading down.

    So, too much disabled items, also will make cpu loading high! I think it's a bug.

    Comment

    • Kerrygeek
      Senior Member
      • Dec 2008
      • 115

      #3
      Your utilization is about the same as mine, I have 1523 items and 24.6968 new values per second. I have recently been adding switches using templates but most of the items on my templates are disabled. I didn't think they'd hurt anything and it's easy to turn those items on if I want to monitor something instead of setting it up from scratch.

      Can anybody else confirm this? If that's true I need to clean up the canned templates I'm using and cut them down to only the things I'm really monitoring. I'm using snmp for everything, no agents anywhere. I've noticed my utilization seems to be high compared to what some others on here are saying about theirs so maybe that's the reason.

      Update: My cpu utilization is also approx. 50-60% (load ave 1.1 to 1.2 on dual proc machine) and when I run "top" it shows mysql uses about 30%, sometimes up to 40% of cpu. My swap doesn't grow much, I've got 2 gigs allocated to swap and after 110 days uptime I'm only using 400 megs of swap space.

      Thanks,
      Kerry
      Last edited by Kerrygeek; 28-07-2009, 21:30.

      Comment

      • v.rusinov
        Junior Member
        • Apr 2008
        • 22

        #4
        Use oprofile to track what eats most of cpu.
        Tune it.

        Probably you'll need to tune mysql for high number of INSERTs. Read the docs & check mysqlperformanceblog.com.

        You may also try to switch tables to MyISAM (in default zabbix intall they are InnoDB).

        Comment

        Working...