Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Users

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 10-30-2007, 08:16 AM
Intermediate Member
 
Posts: 17
Default memory

I have a server installation on a server with Ubuntu Dapper and 1 gb of RAM. running Zimbra Community 4.5.9

I've turned off logger, antivirus and anything I could think of. Upon start the memory usage is 400 mb and over about a month it stays steady at 570 mb with 15 users.

Than once in a while users complain and I check in with the server. And it has maxed out its ram.

The top command tells me that java demands 30 % but there seems to be not other process using much.

Id be really grateful for tips on this. Its happened twice now and I dont have a clue. Each time it was working fine and steady for 30 days and then all of a sudden was maxed out and unusable...

BTW... ZImbra is awesome! Thanks a lot...Support is fantastic etc. Thanks...

Last edited by jens_acamedia; 10-30-2007 at 08:34 AM.. Reason: mea culpa
Reply With Quote
  #2 (permalink)  
Old 10-30-2007, 08:46 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

You really should increase the RAM on this server to at least 2GB, even with only 15 users you'll find it runs better. There are some tips on reducing memory usage here. Please remember that we don't recommend you use these settings as the defaults are what we suggest as being the best for running the server, YMMV.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 10-30-2007, 08:56 AM
Intermediate Member
 
Posts: 17
Default

thanks phoenix.

unfortunately 2gb will cost us double the price of 1 gb. the difference between 600 and 1200 USD a year is substantial for this little environmental consulting firm.

i have followed the instructions in the link youve given me and was quite happy to have the usage stable at 570 mb.

it seems that memory usage sometimes (rarely) surges and doesnt recover.

dont you think that there is something wrong if i have consistent usage over 30 days with no problems and then the server gets "stuck" at 1 gb until i shutdown and restart services...

id love to simply upgrade to 2 gb but if there's another tip id be grateful...

will 5.0 resolve the issues im detailing? will it require more or less RAM.

thanks again
Reply With Quote
  #4 (permalink)  
Old 10-30-2007, 09:21 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

Well, the problem is I don't know what's happening every thirty-days. Do you have any other processes running or scheduled to run at that time? Is it a consistent problem? Have you reduced the services that are running in the operating system to a minimum?
__________________
Regards


Bill
Reply With Quote
  #5 (permalink)  
Old 10-30-2007, 10:14 AM
Intermediate Member
 
Posts: 17
Default

thanks again phoenix. dont want to take up your time but really appreciate your input...

its an ubuntu dapper server distribution with minimal services running.

its not consistently every 30 days and id love to try to track it down but i'm a bit lost as to how i would start.

basically top shows me 1 gb used and breaks it down (sorted by ram usage) to

java 30 %
6 instances of amavisd at roughly 1.6 % each
other processes all at less than 1 %.

So I dont know where to start. Where could the memory have gone???

what log files etc should i be looking at?

should i assume zimbra has nothing to do with this behaviour or is it possible that zimbra could "lock" when it hits maximum ram and not find a way of releasing the memory?

thanks
Reply With Quote
  #6 (permalink)  
Old 11-07-2007, 08:59 AM
Intermediate Member
 
Posts: 17
Default this helps - but why

i think this helps:

zmlocalconfig -e tomcat_java_heap_memory_percent=30

what would be really great is if somebody could explain what this does...

in the performance tips phoenix pointed to the guy had set this to 40 apparently without knowing what it does or what uses less ram...

if there is any way to reduce amavisd instances to say 4 this would solve my issues i believe...would mean slower mail handling i suppose but thats acceptable some times...

anyhow. feedback on these two - heap size for tomcat and amavisd instances would help those like me with fewer resources a great deal...

thanks, Jens
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.