Results 1 to 3 of 3

Thread: Tips on tuning Zimbra for low memory environment

  1. #1
    internalkernel's Avatar
    internalkernel is offline Active Member
    Join Date
    Mar 2009
    Location
    got root?
    Posts
    26
    Rep Power
    6

    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/amavisd.conf.in 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 mail.example.com zimbraHttpNumThreads 100

    * Adjusted POP and IMAP connections
    # zmprov ms mail.example.com zimbraPop3NumThreads 100
    # zmprov ms mail.example.com 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 online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    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
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    internalkernel's Avatar
    internalkernel is offline Active Member
    Join Date
    Mar 2009
    Location
    got root?
    Posts
    26
    Rep Power
    6

    Default

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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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, 05:43 AM
  3. Replies: 22
    Last Post: 12-02-2007, 05: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, 11: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
  •