Results 1 to 2 of 2

Thread: java process %CPU up to 2xx%?

  1. #1
    Join Date
    May 2008
    Location
    Taiwan
    Posts
    296
    Rep Power
    7

    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.

  2. #2
    Join Date
    Oct 2009
    Posts
    3
    Rep Power
    6

    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

Similar Threads

  1. Java process uses 100% CPU until restart
    By briand in forum Administrators
    Replies: 2
    Last Post: 01-19-2010, 05:53 PM
  2. java process is taking 80% memory utilization
    By shemanthus in forum Administrators
    Replies: 4
    Last Post: 11-14-2009, 02:50 PM
  3. [SOLVED] Outlook no longer updating
    By jeremy.pratt in forum Zimbra Connector for BlackBerry
    Replies: 10
    Last Post: 05-30-2008, 03:22 PM
  4. Can't seem to get global in BES
    By sdemeyer in forum Zimbra Connector for BlackBerry
    Replies: 12
    Last Post: 03-19-2008, 08:22 AM
  5. Tomcat, Java VM Problems - RAM related? Help
    By Mo_Hong in forum Administrators
    Replies: 3
    Last Post: 03-28-2007, 02:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •