Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-13-2010, 01:15 AM
Elite Member
 
Posts: 296
Default java process %CPU up to 2xx%?

Dear All,

just curious is this behavior normal?
this is a multi-core server (total 16-core), and sometimes we found the java process (jetty) runs up to 250% CPU% in "top" listing, just like below :

Code:
top - 16:03:58 up 81 days,  3:52,  4 users,  load average: 1.78, 2.73, 3.56
Tasks: 326 total,   1 running, 325 sleeping,   0 stopped,   0 zombie
Cpu(s): 13.0%us,  1.1%sy,  0.0%ni, 85.8%id,  0.0%wa,  0.0%hi,  0.2%si,  0.0%st
Mem:  12296764k total, 11419060k used,   877704k free,   383992k buffers
Swap: 25165812k total,      312k used, 25165500k free,  3701628k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND            
 6228 zimbra    15   0 5976m 5.2g  16m S 222.5 44.7  18852:56 java

the java process is for jetty server :
Code:
zimbra    6228  6227 17 Jan28 ?        13-02:15:32 /opt/zimbra/java/bin/java -server -Djava.awt.headless=true -XX:+UseConcMarkSweepGC -XX:NewRatio=2 -XX:PermSize=128m -XX:MaxPermSize=128m -XX:SoftRefLRUPolicyMSPerMB=1 -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintGCApplicationStoppedTime -Xss256k -Xms4803m -Xmx4803m -Xmn1200m -Djava.io.tmpdir=/opt/zimbra/mailboxd/work -Djava.library.path=/opt/zimbra/lib -Djava.endorsed.dirs=/opt/zimbra/mailboxd/common/endorsed -Dzimbra.config=/opt/zimbra/conf/localconfig.xml -Djetty.home=/opt/zimbra/mailboxd -DSTART=/opt/zimbra/mailboxd/etc/start.config -jar /opt/zimbra/mailboxd/start.jar /opt/zimbra/mailboxd/etc/jetty.properties /opt/zimbra/mailboxd/etc/jetty-setuid.xml /opt/zimbra/mailboxd/etc/jetty.xml
I think it just means that this process almost consume almost 3 CPU cores for job processing, and we still have lots of space (total 16-core) for other processes. is my understanding correct?

any advice? Thanks.
Reply With Quote
  #2 (permalink)  
Old 07-08-2010, 07:54 AM
New Member
 
Posts: 3
Default

I'm having the exact same issue, on a Dual Intel(R) Xeon(TM) CPU 3.20GHz server. Did you find out what was causing your issue?

Details on my setup:

Dual Intel(R) Xeon(TM) CPU 3.20GHz

At the time I saw this issue, we had about 6 or so web clients, in total we have aprox 520 users on this server.

Code:
top - 09:50:14 up 1 day, 19:20,  2 users,  load average: 1.85, 1.20, 1.07
Tasks: 165 total,   1 running, 163 sleeping,   0 stopped,   1 zombie
Cpu(s): 73.7%us,  9.0%sy,  0.0%ni, 17.3%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:   6048336k total,  4435488k used,  1612848k free,   162660k buffers
Swap:  8093688k total,        0k used,  8093688k free,   574764k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
25112 zimbra    18   0  616m  72m  10m S 245.1  1.2   0:04.62 java
Code:
[root@postboxn ~]# free
             total       used       free     shared    buffers     cached
Mem:       6048348    3917852    2130496          0     210208    1602604
-/+ buffers/cache:    2105040    3943308
Swap:      8093688        104    8093584
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.