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 08-05-2010, 01:54 AM
Translation Moderator
 
Posts: 64
Default Garbage Collection Problems / at times VERY slow Zimbra experience

Hello Falks, i am in need of some help for our Zimbra solution.

We have an OpenSource 6.0.6.1 Zimbra Installation.
First we had it on a very decent HP Blade, but due to hardware problems we had to switchover to our cold-standby vmware instance.

the vmware instance is as follows:

Debian Lenny 64bit
5.8 G RAM
4 core processors (2.6 ghz)
iSCSI connection to SATA NetApp Filer (I know, sata, but it was the failover machine and I am fairly sure the I/O is not the problem!)
currently 400 configured accounts

I attached some charts which where from this Sunday/Monday/Tuesday, as you can see, Sunday is no problem, but on the other days, everytime the heap get's full and the garbage collection kicks in, we see loads of upto 20-25 for a prolonged period of time up to 15 minutes. The standard load for this server is between 2 and 4-5.

The log zmmailbox.out shows at times GC stops of seconds upto minutes (yesterday I had 477 seconds GC Time once!). The biggest problem with this is that after 477 seconds of unavailability of the java process a lot of mail accumulates and prolonges the time the server needs to calm down and users experience latencies ...

I read the wikis and performance, etc. and I ruled out the I/O as it's not related to the spikes in GC and is pretty low overall. What I find curios is the spikes which corellates with the GC in the SoftIRQ's, does the GC use SoftIRQ's in some form or the other? Or could it be that the high SoftIRQ's are responsible for the long GC times ?? The graphs show you the cpu systime, softirqs, irqs (I do not have load graphs) and all show the similar pattern, but the SoftIRQ's stand out as they are in the spikes higher than I ever saw them.

Right now I have implemented these startup parameters for mailboxd:

mailboxd_java_heap_memory_percent = 25
mailboxd_java_heap_new_size_percent = 25
mailboxd_java_options = -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 -XX:+UseParNewGC
mailboxd_thread_stack_size = 256k

Today i'l try these:
mailboxd_java_heap_memory_percent = 20
mailboxd_java_options = -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 -XX:+UseParNewGC


But I really want to know why we have these problems, are they related to mailboxd_java_heap_new_size_percent? should I lower it? what is it doing?
Should I use the parallel garbace collection instead of the Concurrent Mark Sweep collector? What could be the drawback?

I read about a few people as well experiencing garbage collection related problems, how did you solve yours?
Attached Images
File Type: jpg censvbld10.barcelo_cpus_irq.jpg (18.9 KB, 39 views)
File Type: jpg censvbld10.barcelo_mboxd-heap-used.jpg (29.8 KB, 38 views)
File Type: jpg censvbld10.barcelo_cpus_softirq.jpg (20.0 KB, 37 views)
File Type: jpg censvbld10.barcelo_cpus_sys.jpg (20.2 KB, 37 views)

Last edited by Hatrix; 08-05-2010 at 03:03 AM..
Reply With Quote
  #2 (permalink)  
Old 08-05-2010, 11:04 AM
Translation Moderator
 
Posts: 64
Default

Hmm, does nobody have no idea at all ...
Nobody has the same issues ...?

best
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.