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-03-2009, 08:05 AM
Active Member
 
Posts: 26
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.
Reply With Quote
  #2 (permalink)  
Old 03-03-2009, 09:01 AM
Zimbra Consultant & Moderator
 
Posts: 20,312
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
Reply With Quote
  #3 (permalink)  
Old 03-03-2009, 09:44 AM
Active Member
 
Posts: 26
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...
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.