Discussion:
Zenoss 4.2 - high load CPU
szogu
2012-11-29 17:31:04 UTC
Permalink
szogu [http://community.zenoss.org/people/szogu] created the discussion

"Zenoss 4.2 - high load CPU"

To view the discussion, visit: http://community.zenoss.org/message/70242#70242

--------------------------------------------------------------
Hi,
I have virtual server with 4 CPU and 8 GB memory, running in a Centos 6.3.
I installed there a new Zenoss ver. 4.2.0.
Since beginning I have troubles.

Firstly, zenoss start whole an hour...

[***@zmonbm101 ~]$ date; zenoss start; date
Tue Nov 27 13:05:00 CET 2012
Daemon: zeneventserver starting...
Waiting for zeneventserver to start....................................................................................................................................................................................
zeneventserver failed to start within 180 seconds.
Please check the following log file for more details:
  /opt/zenoss/log/zeneventserver.log
Daemon: zopectl . . . . . . . . . .
daemon process started, pid=25000
Daemon: zenhub starting...
Daemon: zenjobs starting...
Daemon: zeneventd starting...
Daemon: zenping starting...
Daemon: zensyslog starting...
Daemon: zenstatus starting...
Daemon: zenactiond starting...
Daemon: zentrap starting...
Daemon: zenmodeler starting...
Daemon: zenperfsnmp starting...
Daemon: zencommand starting...
Daemon: zenprocess starting...
Daemon: zenrrdcached starting...
Tue Nov 27 14:00:21 CET 2012

Second:
Java process and other zenoss process "eat" my processors :)

When zenoss start:
Tasks: 162 total,   6 running, 156 sleeping,   0 stopped,   0 zombie
Cpu0  : 26.7%us, 31.7%sy,  0.0%ni,  0.0%id,  0.0%wa,  3.3%hi, 38.3%si,  0.0%st
Cpu1  : 43.3%us, 10.4%sy,  0.0%ni,  0.0%id,  0.0%wa,  0.0%hi, 46.3%si,  0.0%st
Cpu2  : 39.1%us, 13.0%sy,  0.0%ni,  0.0%id,  0.0%wa,  0.0%hi, 47.8%si,  0.0%st
Cpu3  : 26.8%us, 25.4%sy,  0.0%ni,  0.0%id,  0.0%wa,  0.0%hi, 47.9%si,  0.0%st
Mem:   8061748k total,  6273628k used,  1788120k free,    25608k buffers
Swap:  2097144k total,    36880k used,  2060264k free,   137884k cached


  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
14134 zenoss    20   0 4375m 479m  12m S 247.8  6.1  39:24.33 java -server -XX:+HeapDumpOnOutOfMemoryError -DZENOSS_COMMAND=zeneventserver -DZENHOME=/opt/zenoss -Djetty.home=/opt/zenoss -Djetty.logs=/opt/zen
15791 mysql     20   0  960m  81m 3428 S 14.3  1.0   2:11.24 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib64/mysql/plugin --user=mysql --log-error=/var/log/mysqld.log --pid-f
17811 zenoss    20   0  296m  36m 4548 R 62.4  0.5   0:19.66 /opt/zenoss/bin/python /opt/zenoss/zopehome/runzope -C /opt/zenoss/etc/zope.conf
17812 zenoss    20   0  294m  34m 4316 R 63.7  0.4   0:18.85 /opt/zenoss/bin/python /opt/zenoss/Products/ZenHub/zenhub.py --configfile /opt/zenoss/etc/zenhub.conf --cycle --daemon
...

16152 memcache  20   0  346m  21m  360 S  0.9  0.3  13:11.53 memcached -d -p 11211 -u memcached -m 64 -c 1024 -P /var/run/memcached/memcached.pid
7784 rabbitmq  20   0 2118m  21m 1812 S  8.0  0.3 157:20.85 /usr/lib/erlang/erts-5.9.2/bin/beam.smp -W w -K true -A30 -P 1048576 -- -root /usr/lib/erlang -progname erl -- -home /var/lib/rabbitmq -- -noshell

Third: what is interesting...

[***@zmonbm101 ~]$ date; zenoss status; date
Thu Nov 29 17:50:01 CET 2012
Daemon: zeneventserver program running; pid=14134
Daemon: zopectl not running
Daemon: zenhub not running
Daemon: zenjobs not running
Daemon: zeneventd not running
Daemon: zenping not running
Daemon: zensyslog not running
Daemon: zenstatus not running
Daemon: zenactiond not running
Daemon: zentrap not running
Daemon: zenmodeler not running
Daemon: zenperfsnmp not running
Daemon: zencommand not running
Daemon: zenprocess not running
Daemon: zenrrdcached not running
Thu Nov 29 17:51:46 CET 2012
[***@zmonbm101 ~]$

Here is about 2 minutes, sometimes I must wait 5 minutes.

My old server with Centos 5.5 and Zenoss 2.5.2 works fine.
Here I'm a little stupid :)

Thank you for the help.
Sorry for my bad english.


Regards,
Tommy
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/70242#70242]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Philip Warren
2012-11-29 17:33:00 UTC
Permalink
Philip Warren [http://community.zenoss.org/people/pwarren] created the discussion

"Re: Zenoss 4.2 - high load CPU"

To view the discussion, visit: http://community.zenoss.org/message/70256#70256

--------------------------------------------------------------
Can you attach your zeneventserver.log and zenhub.log to this message?

Philip
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/70256#70256]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...