Results 1 to 3 of 3

Thread: Tips on tuning Zimbra for low memory environment

  1. #1
    Join Date
    Mar 2009
    got root?
    Rep Power

    Default Tips on tuning Zimbra for low memory environment

    This is more of a question than a how-to... although, I'd like to get input from people that have some experience administering ZCS and, hopefully, be able to compile enough worthwhile information for this thread to help anyone facing the same situation in the future.

    I'm running Zimbra on an Ubuntu 8.04 VPS, with 540 megs of RAM. All the tuning guides that I have read are geared towards running Zimbra on a rather large server in a large environment. I have a very simple setup, a handful of users across several domains... I'm also running Apache and Bind on this machine so resources tend to be rather limited.

    These are the tweaks I've employed so far... This is Zimbra specific, I've already done all the modifications to Linux that I can.

    *Dropped the memory percent on Java and MySQL
    # zmlocalconfig -e mailboxd_java_heap_memory_percent=25
    # zmlocalconfig -e mysql_memory_percent=20

    * Turned off Anti-Virus and Spell-Checking in the Admin UI. (I don't have a need for Anti-Virus as either the clients themselves are running AV protection and/or the majority of my clients are Linux or Mac based)
    * Then edited /opt/zimbra/conf/ to reflect:
    $max_servers = 2; # number of pre-forked children (2..15 is common)

    * Dropped the number of HTTP threads that can be started
    # zmprov ms zimbraHttpNumThreads 100

    * Adjusted POP and IMAP connections
    # zmprov ms zimbraPop3NumThreads 100
    # zmprov ms zimbraImapNumThreads 100


    This is all experimentation for me, I'm new to Zimbra and kind of fumbling around in the dark. So, firstly please correct any errors or oversights that I made. And, of course, feel free to advise on any other modifications that would be helpful...

    I have noticed a sizable difference in performance after making the above modifications. I went from using probably 200 megs of swap to just a couple of megs. 540 megs of RAM is not alot considering what Zimbra does, so I expect to be consuming 80 to 90%... my real goal was to get it off the swap.

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Vannes, France
    Rep Power


    You really should run Zimbra with more RAM, reducing the RAM footprint will give you less functionality and may cause you problems and Zimbra tends to run smoother with more RAM.

    If you insist on doing it there's a few more tips here: Making Zimbra run on minimal RAM - Zimbra :: Wiki


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    Join Date
    Mar 2009
    got root?
    Rep Power


    I figured more RAM would be helpful... unfortunately I don't have it... I guess the goal would be to find that middle ground where Zimbra is still functional on low resources.

    Obviously, there will be loss of some functionality and a certain amount of latency would be expected... However, I'm talking about 10 to 15 users with low resource usage. Certainly Zimbra can be trimmed down a bit to be functional and still usable?

    Thanks for the link...

Similar Threads

  1. Zimbra spam system
    By rajahd in forum Administrators
    Replies: 9
    Last Post: 04-16-2008, 07:25 PM
  2. [SOLVED] Clamav problem ? What's happening ?
    By aNt1X in forum Installation
    Replies: 23
    Last Post: 02-14-2008, 04:43 AM
  3. Replies: 22
    Last Post: 12-02-2007, 04:05 PM
  4. zmtlsctl give LDAP error
    By sourcehound in forum Administrators
    Replies: 5
    Last Post: 03-11-2007, 03:48 PM
  5. Post instsallation problems
    By Assaf in forum Installation
    Replies: 14
    Last Post: 01-29-2007, 10:38 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