Results 1 to 3 of 3

Thread: Really strange memmory behaviour - please help!

  1. #1
    Join Date
    Jul 2008
    Rep Power

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

  2. #2
    Join Date
    Sep 2008
    Russia Federation, Novosibirsk
    Rep Power


    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,

  3. #3
    Join Date
    Dec 2008
    Rep Power


    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.

Similar Threads

  1. Replies: 5
    Last Post: 03-13-2009, 06:05 AM
  2. Strange behaviour in Outlook 2003
    By russgalleywood in forum Zimbra Connector for Outlook
    Replies: 4
    Last Post: 02-10-2009, 02:48 AM
  3. strange behaviour with ics import in ZWC
    By michael.laengle in forum Users
    Replies: 0
    Last Post: 11-04-2008, 05:27 AM
  4. Calendar strange behaviour
    By russgalleywood in forum Installation
    Replies: 2
    Last Post: 04-30-2007, 01:38 AM
  5. Status page: strange behaviour
    By trapanator in forum Administrators
    Replies: 7
    Last Post: 12-29-2006, 05:52 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