Archived community.zenoss.org | full text search
Skip navigation
1788 Views 1 Reply Latest reply: Jul 29, 2012 11:55 AM by bbibeault RSS
George Pajari Newbie 2 posts since
Feb 6, 2012
Currently Being Moderated

Jul 28, 2012 10:41 AM

CPU Consumption with "Idle" 4.1.70 ~40% of Xeon Server

I've just installed 4.1.70 and am appalled with the amount of CPU power consumed doing nothing, especially when compared to 3.2.1.   With an empty configuration (no devices being monitored), Zenoss is taking almost 40% of a 3.40GHz E31270 quad-core Xeon server.

top - 14:20:46 up 59 days, 17:19,  1 user,  load average: 0.10, 0.69, 1.11
Tasks: 358 total,   4 running, 354 sleeping,   0 stopped,   0 zombie
Cpu(s):  2.2%us,  2.2%sy,  0.0%ni, 95.4%id,  0.0%wa,  0.0%hi,  0.2%si,  0.0%st
Mem:  16131860k total, 15343240k used,   788620k free,   410420k buffers
Swap:  4194296k total,    14420k used,  4179876k free, 11104264k cached

    PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                                  
 856030 495       20   0 2303m 134m 6620 S  126  0.9   7883:31 mysqld                                                   
 865841 1337      20   0 4363m 208m  11m S  120  1.3   8008:11 java                                                     
 871756 1337      20   0 2145m  30m 9452 S   53  0.2   4291:02 java             

What is going on here?  What might I be doing wrong?

  • bbibeault ZenossEmployee 142 posts since
    May 19, 2009

    George, I don't have all the information, but a few things to consider:

     

    0) What are your system resources?  Zenoss 4.2 requires significantly more RAM than 3.2.1 - what is your available RAM?  Are you using swap?

    1) Have you run mysqltuner.pl to tweak the default MySQL database configuration values?

    2) There should be at least one device present in the system (a fresh install adds localhost) - any chance that it is generating an event flow?

     

    As the root user, can you please execute "rabbitmqctl list_queues -p /zenoss".  This will show you the queues that Zenoss is using and their size - if any of these are non-zero, that would be an indicator of what is going on.  If all of these are zero, and mysql has been tuned, I'm not certain where to look next.

     

    You could check your log files for any repeating errors, perhaps (one thing we do in QA is the following:)

     

    If "ack" is not already installed (try running "ack" from the command line") you can download it from

    curl http://betterthangrep.com/ack-standalone > /bin/ack && chmod 0755 !#:3

    As the "zenoss" user, perform the following:

     

    cd $ZENHOME/log

     

    ack -uil traceback

      If there are any returned results, you need to examine those files and see if these require tickets or are known issues

     

    ack -uil error

      If there are any returned results, you need to examine those files and see if these require tickets or are known issues

     

    Hopefully some of this can help or get you moving in the right direction.

     

      -- Brian

More Like This

  • Retrieving data ...

Legend

  • Correct Answers - 4 points
  • Helpful Answers - 2 points