Page 1 of 4 123 ... LastLast
Results 1 to 10 of 37

Thread: High Java CPU usage question

  1. #1
    mek1 is offline Loyal Member
    Join Date
    Jul 2008
    Posts
    78
    Rep Power
    7

    Question High Java CPU usage question

    Code:
    Release 7.1.0_GA_3140.UBUNTU10_64 UBUNTU10_64 NETWORK edition.
    OS: Ubuntu server 10.04 LTS x64

    I just installed a trial of ZCS 7.1 NE for testing on a VMware ESXi 4.1 host. We noticed the server running unusually higher than our two production machines both with 100+ active accounts. The new 7.1 server has 4x 3.33 GHz processors and 4 GB RAM allocated with no active users accounts yet. Seeing as there is no one using the server yet I find this a bit odd. If we restart Zimbra or the server it goes back down to an acceptable level for a while then kicks back up to what we're seeing below.

    Does anyone have performance recommendations for this scenario?


    ZCS 7.1 Server stats:

    CPU load averages 1.21 (1 min) 1.19 (5 mins) 1.12 (15 mins)

    Memory
    Code:
    free
                 total       used       free     shared    buffers     cached
    Mem:       4059624    3773196     286428          0     162364    1446564
    -/+ buffers/cache:    2164268    1895356
    Swap:     11894776      74724   11820052
    Uptime
    Code:
     
    09:13:38 up 3 days, 15:27,  2 users,  load average: 1.09, 1.16, 1.11
    Htop process that is consistently running high:
    Code:
    PID USER     PRI  NI  VIRT   RES   SHR S CPU% MEM%   TIME+  Command                                                                       
    11807 zimbra    20   0  654M  234M  5388 R 94.0  5.9 41h37:43 /opt/zimbra/java/bin/java -XX:ErrorFile=/opt/zimbra/log -client -Xmx256m -Dzim
    Last edited by mek1; 04-15-2011 at 07:47 AM.

  2. #2
    SkyHiRider is offline Active Member
    Join Date
    Sep 2011
    Posts
    27
    Rep Power
    3

    Default

    Somethings definitely od with Java, as I ran into a similar problem today - both cpu's were spiking at 90%, had to restart Zimbra to fix it.

    This is very bad, is there a solution for this?

  3. #3
    Naik is offline Junior Member
    Join Date
    Feb 2011
    Posts
    7
    Rep Power
    4

    Default User=zimbra - command = Java - High CPu usage

    Does anyone have any idea about this? I have the same problem and restart seems to fix it temporarily but it goes back to high CPU usage with spikes in 90s. What is using Java process that is using up so much CPU?

    Your help is appreciated.

    top command on mailbox VM

    Cpu(s): 42.9%us, 35.6%sy, 0.0%ni, 21.3%id, 0.0%wa, 0.2%hi, 0.0%si, 0.0%st


    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    4998 zimbra 18 0 1657m 975m 14m S 151.3 24.7 884:48.22 java
    28314 root 15 0 282m 15m 8632 S 2.7 0.4 0:00.51 gnome-terminal
    15973 root 15 0 97048 12m 6340 S 2.0 0.3 0:06.06 Xorg
    28301 root 15 0 271m 14m 10m S 1.0 0.4 0:03.74 gnome-system-mo
    4937 zimbra 15 0 1590m 337m 5656 S 0.3 8.5 2:33.67 mysqld
    28158 root 15 0 257m 7340 5656 S 0.3 0.2 0:00.21 gnome-settings-
    Last edited by Naik; 10-01-2011 at 06:36 AM.

  4. #4
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,569
    Rep Power
    57

    Default

    Quote Originally Posted by Naik View Post
    Does anyone have any idea about this?
    Not unless somebody filed a bug report about the problem.

    Quote Originally Posted by Naik View Post
    I have the same problem and restart seems to fix it temporarily but it goes back to high CPU usage with spikes in 90s. Your help is appreciated.
    I'd suggest you update to the latest 7.1.3 release of Zimbra and see if the problem still occurs, if it does then open a support case and/or file a bug report about the problem.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    Naik is offline Junior Member
    Join Date
    Feb 2011
    Posts
    7
    Rep Power
    4

    Default User=zimbra - command = Java - High CPu usage

    Quote Originally Posted by phoenix View Post
    Not unless somebody filed a bug report about the problem.

    I'd suggest you update to the latest 7.1.3 release of Zimbra and see if the problem still occurs, if it does then open a support case and/or file a bug report about the problem.
    Thanks Phoenix for the quick reply but we are already on 7.1.2 and it diddnt resolve. We would like to know something about this before we upgrade. Do you know what on the mailbox server uses java?

  6. #6
    Naik is offline Junior Member
    Join Date
    Feb 2011
    Posts
    7
    Rep Power
    4

    Default User=zimbra - command = Java - High CPu usage

    So it is probably tomcat using Java. But still dont know why Java is going crazy. I think it is probably one of the bad coded zimlet but dont even know which one to start on and not even 100% if it is a zimlet... I am suspecting Social Zimlet...

  7. #7
    soba@ukw.edu.pl is offline Special Member
    Join Date
    Jul 2011
    Posts
    146
    Rep Power
    4

    Default

    Update to 7.1.2 P1 I was the same problem. Update clear this situation.
    # ZCS 7.1.3 SLES11 SP1

  8. #8
    ThorGoLucky's Avatar
    ThorGoLucky is offline Special Member
    Join Date
    Jun 2006
    Location
    Corvallis, Oregon, USA
    Posts
    100
    Rep Power
    9

    Default

    Upgraded to 7.1.3 and Zimbra is still very slow (several seconds to send a message) and java utilized almost half of the total memory.

  9. #9
    ulaaser is offline New Member
    Join Date
    Dec 2011
    Posts
    4
    Rep Power
    3

    Default

    Same problem here... i have installed latest version with patch inside centos 6.0 64bit in esxi 2vcpus and 6gb ram.

    there are a growing number of java proceses all of them taking up all cpu ressources... memory is stable at 3gb

    but after a few hours (4-6) the server becomes unresponsive and i must connect via console to restart the server...

    i am also unable to kill the process /opt/zimbra/java/bin/java -version (varios of them are using the cpu ressources, and are not killed if im using zmcontrol restart or kill PID)

  10. #10
    ccelis5215 is offline Elite Member
    Join Date
    Jun 2011
    Location
    Caracas Venezuela
    Posts
    471
    Rep Power
    4

    Default

    Uhmmm. that's happened in my server where i've allocated 2 gigs.

Page 1 of 4 123 ... LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] High cpu load, only on one core?.. java..
    By ducommun in forum Administrators
    Replies: 1
    Last Post: 02-25-2011, 06:40 AM
  2. High CPU usage on server and client
    By jack-Z in forum Administrators
    Replies: 10
    Last Post: 01-07-2009, 10:12 PM
  3. Replies: 5
    Last Post: 02-04-2008, 05:55 PM
  4. HIGH CPU use
    By brwatters in forum Administrators
    Replies: 3
    Last Post: 07-05-2006, 08:47 AM
  5. 3.1 on FC4 problems
    By cohnhead in forum Installation
    Replies: 8
    Last Post: 05-26-2006, 11:16 AM

Posting Permissions

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