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-15-2011, 07:40 AM
Loyal Member
 
Posts: 76
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..
Reply With Quote
  #2 (permalink)  
Old 09-07-2011, 11:48 AM
Active Member
 
Posts: 27
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?
Reply With Quote
  #3 (permalink)  
Old 10-01-2011, 06:28 AM
Junior Member
 
Posts: 7
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..
Reply With Quote
  #4 (permalink)  
Old 10-01-2011, 06:33 AM
Zimbra Consultant & Moderator
 
Posts: 20,315
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
Reply With Quote
  #5 (permalink)  
Old 10-01-2011, 06:41 AM
Junior Member
 
Posts: 7
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?
Reply With Quote
  #6 (permalink)  
Old 10-01-2011, 06:51 AM
Junior Member
 
Posts: 7
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...
Reply With Quote
  #7 (permalink)  
Old 10-01-2011, 07:28 AM
Special Member
 
Posts: 146
Default

Update to 7.1.2 P1 I was the same problem. Update clear this situation.
__________________
# ZCS 7.1.3 SLES11 SP1
Reply With Quote
  #8 (permalink)  
Old 10-18-2011, 09:18 AM
Loyal Member
 
Posts: 92
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.
Reply With Quote
  #9 (permalink)  
Old 12-07-2011, 09:02 AM
New Member
 
Posts: 4
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)
Reply With Quote
  #10 (permalink)  
Old 12-07-2011, 03:35 PM
Advanced Member
 
Posts: 206
Default

Uhmmm. that's happened in my server where i've allocated 2 gigs.
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.