Results 1 to 6 of 6

Thread: Zimbra setting memory limit

  1. #1
    Join Date
    Nov 2010
    Posts
    3
    Rep Power
    4

    Default Zimbra setting memory limit

    Hi,
    I really like zimbra. In this case I'd use it for myself. I need a few tips to optimize zimbra because currenlty it uses more then 1.5gb ram, without being used at all.
    I followed this guide: Making Zimbra run on minimal RAM - Zimbra :: Wiki
    But this doesn't help me that much.

    Most memory is used by mysql and all the java threads.

    I hope to reduce the memory usage, when minimizing the number of java threads. How can this be done?

    Thank you

  2. #2
    Join Date
    Jul 2007
    Location
    Baltimore
    Posts
    1,649
    Rep Power
    11

    Default

    this article gives tips for performance tuning for large installations, but the information contained within is useful for your goals too

    Performance Tuning Guidelines for Large Deployments - Zimbra :: Wiki

  3. #3
    Join Date
    Sep 2010
    Posts
    106
    Rep Power
    5

    Default

    Quote Originally Posted by newc0mer View Post
    Hi,
    I really like zimbra. In this case I'd use it for myself. I need a few tips to optimize zimbra because currenlty it uses more then 1.5gb ram, without being used at all.
    I followed this guide: Making Zimbra run on minimal RAM - Zimbra :: Wiki
    But this doesn't help me that much.

    Most memory is used by mysql and all the java threads.

    I hope to reduce the memory usage, when minimizing the number of java threads. How can this be done?

    Thank you
    java and mysql aggressively cache which shows up as memory usage. Is the machine going into swap? Are you running other things on this machine? What are the system specs as well please?

  4. #4
    Join Date
    Nov 2010
    Posts
    3
    Rep Power
    4

    Default

    hi!

    no, the machine does not swap. I run other services like mysql, nginx and apache on it.
    it is a centos5, 64bit, 3 gigs ram.
    i've installed the redhat 5 bundle with --platform-override.

    my current tuning:
    | s | zmprov ms lvps83-169-38-127.dedicated.hosteurope.de zimbraHttpNumThreads 10 | s |
    | s | zmprov ms lvps83-169-38-127.dedicated.hosteurope.de zimbraPop3NumThreads 3 | s |
    | s | zmprov ms lvps83-169-38-127.dedicated.hosteurope.de zimbraImapNumThreads 10 | s |
    | s | zmprov ms lvps83-169-38-127.dedicated.hosteurope.de zimbraLmtpNumThreads 4 | s |
    | s | zmlocalconfig -e postfix_lmtp_destination_concurrency_limit=5 | s |
    | s | zmlocalconfig -e mailboxd_java_heap_memory_percent=10 | s |
    | s | zmlocalconfig -e mailboxd_java_heap_new_size_percent=5 | s |

    <code bash /opt/zimbra/conf/my.cnf>
    innodb_buffer_pool_size = 1/10 of the original value
    table_cache = 500
    </code>

    <code bash /opt/zimbra/conf/amavisd.conf.in>
    $max_servers = 2;
    </code>

    is it good? is something critical in my tuning? i've noticed that the innodb_buffer_pool_size makes the biggest difference. maybe I will make it smaller than 1/10. Maybe 1/2 of the original value.
    but still there are so many java processes. no way to use less of them?

  5. #5
    Join Date
    Sep 2010
    Posts
    106
    Rep Power
    5

    Default

    keep in mind the more ram you starve from mysql and java the slower your zimbra is going to be. Is this machine also a webserver? Also is the db used for serving web pages?

  6. #6
    Join Date
    Nov 2010
    Posts
    3
    Rep Power
    4

    Default

    hi
    yes there is a webserver installed and the websites use the mysql server as a backup.
    but it is my private development server. there is no other user than me accessing all of these services.

    i know that it gets slower. but as I said. it is only for me...

Similar Threads

  1. ZCS7 Beta only Listens on IPv6
    By tobru in forum Installation
    Replies: 2
    Last Post: 03-25-2011, 03:31 AM
  2. Problem Install Zimbra ver 5.0.4_GA_2101.F7
    By maman in forum Installation
    Replies: 5
    Last Post: 04-14-2008, 12:50 PM
  3. huge log size
    By rmvg in forum Administrators
    Replies: 5
    Last Post: 01-02-2007, 09:39 AM
  4. Fedora Core 3, Clean Install - Not working!
    By pcjackson in forum Installation
    Replies: 17
    Last Post: 03-05-2006, 06:38 PM
  5. Monitoring : Data not yet avalaible
    By s3nz3x in forum Installation
    Replies: 7
    Last Post: 11-30-2005, 06:18 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •