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 03-17-2009, 10:36 AM
Active Member
 
Posts: 45
Unhappy Really strange memmory behaviour - please help!

Im comming right from the VM-Ware ESX3.5 - Fedora8 - Zimbra 5.0.14 hell.

This combination was running really bad for weeks! I did everything i could to try to get the performance up in zimbra following the guides for large deployments wich is probably not the best source because we are only 8 users on a machine with 4 cpu xenon cores each running at 2000Mhz and 4GB Ram.

Last night i did (just for fun) tweak zimbra in the other way so i set:

mailboxd_java_heap_memory_percent = 10
mysql_memory_percent = 10 (yes i did change it in my.cnf)

instead of the default 30 and 40 percent!


And badaboom now everything works great! Zimbra has great performance and is stable?!? In my world lowering the memory should have slowed zimbra down not speed up performance?!? Whats the deal? Whats happening?
... and NO! - memory did not swap before nor does it swap now! There was always enough free memory available to zimbra!

Before the large java process took about 27% of memory now it consumes only about 8% and everything runs better now?!?

Could someone come up with some explanation for this phenomenon?!? I get a little nervous about this really untypical behaviour!


(By the way what is the "soap_max_in_memory_buffer_size" setting for and shoul i set it to something else than zero?)


--- Offtopic but it may help some people :
If someone is running ESX 3.5 on xeons together with fedora 7 or 8 you should not turn paravirtualization on but off and use follwoing kernel parameters in /etc/grub.conf:

kernel /vmlinuz-2.6.26.8-57.fc8 ro root=/dev/system/lvroot clocksource=acpi_pm nohz=off highres=off

And throw away those evil vm-ware tools if you dont want your kernel swapping all the time and probably set vm.swapiness to zero.
Reply With Quote
  #2 (permalink)  
Old 03-18-2009, 07:40 PM
Active Member
 
Posts: 32
Default

Need testing with more accounts. After adding thousands of accounts slowness is very noticeable. Some kind of geometrical progression.
I guess memory consumed by JavaVM depends preferably on number of active accounts that are accessible through Web-Interface.
As for MySQL I think that it is not a very critical setting. MySQL doesn't eat a big amount of memory in our installation ))
__________________
With best regards,
Reply With Quote
  #3 (permalink)  
Old 03-19-2009, 03:09 AM
Junior Member
 
Posts: 9
Default

The mailboxd_java_heap_memory_percent parameter shud be adjusted according to the amount of RAM you have on the box. The JVM process requires about 1.6 to 2 GB of RAM to perform well. So the setting shud be adjusted accordingly. On a box with 16 GB RAM , and with default setting of 30, you end up over-allocating memory to JVM, which (strangely) it doesnot like.
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.