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 11-29-2010, 05:46 AM
New Member
 
Posts: 3
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
Reply With Quote
  #2 (permalink)  
Old 11-29-2010, 06:12 AM
Moderator
 
Posts: 1,554
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
Reply With Quote
  #3 (permalink)  
Old 11-29-2010, 10:31 AM
Loyal Member
 
Posts: 88
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?
__________________
Running Zimbra on:
Dell PE1800
CentOS 5.x x86_64
1 x p-4 3.0 ghz xeon w/HT
6 gigs ram
8 users
250 gig MDRAID 1
Release 7.1.4_GA_2555.RHEL5_64_20120105094627 CentOS5_64 FOSS edition.
Reply With Quote
  #4 (permalink)  
Old 11-29-2010, 12:08 PM
New Member
 
Posts: 3
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?
Reply With Quote
  #5 (permalink)  
Old 11-29-2010, 12:30 PM
Loyal Member
 
Posts: 88
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?
__________________
Running Zimbra on:
Dell PE1800
CentOS 5.x x86_64
1 x p-4 3.0 ghz xeon w/HT
6 gigs ram
8 users
250 gig MDRAID 1
Release 7.1.4_GA_2555.RHEL5_64_20120105094627 CentOS5_64 FOSS edition.
Reply With Quote
  #6 (permalink)  
Old 11-29-2010, 12:43 PM
New Member
 
Posts: 3
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...
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.