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 10-20-2008, 02:45 AM
Active Member
 
Posts: 36
Default 4gb of RAM is too low for Zimbra with 250 users

Centos 5 32bit and Zimbra 5.0.10
Major amount of users connected via imap. Everything was fine until the amount of users grown up. Right now Thunderbird has connection problems (timeout), free gives result:
total used free shared buffers cached
Mem: 3368328 3233316 135012 0 150348 1115612

When imap users have connection problem http users works without problem. When I do zmcontrol stop zmcontrol start it's about 600 mb of free memory which then decreases to 100 mb during imap users activity.
Seems the narrow place is imap service.

BTW ms exchange with such amount of users on a similar hardware works without problems.
Reply With Quote
  #2 (permalink)  
Old 10-20-2008, 03:02 AM
Moderator
 
Posts: 7,928
Default

And the question is ? How large are peoples mailboxes what is the split between IMAP and WebClient ? Any additional software installed ? Any changes with respect to SpamAssassin on the default install ?
__________________
Reply With Quote
  #3 (permalink)  
Old 10-20-2008, 04:13 AM
Active Member
 
Posts: 36
Default

Quote:
Originally Posted by uxbod View Post
And the question is ? How large are peoples mailboxes what is the split between IMAP and WebClient ? Any additional software installed ? Any changes with respect to SpamAssassin on the default install ?
No question, just to inform.
90% uses imap, the default maximum mailbox size is 500 mb, about 10 users have 1-2-3 gb
No additional software, SA default settings, about 20000-30000 incoming mails per day
Reply With Quote
  #4 (permalink)  
Old 10-21-2008, 04:25 AM
Active Member
 
Posts: 36
Default

what imap server Zimbra is using?
Reply With Quote
  #5 (permalink)  
Old 10-21-2008, 05:51 AM
Senior Member
 
Posts: 50
Default

I find that vmstat is a better tool for determining the overall system performance. Memory issues can be tricky to track down. Your IMAP issue might be something such as file I/O slowing you down. This is where vmstat is a handy tool.

Correct me if I'm wrong, but using free will always show your system having little RAM free. Linux will use all available RAM for activities such has file system caching.
Reply With Quote
  #6 (permalink)  
Old 10-21-2008, 10:00 AM
OpenSource Builder & Moderator
 
Posts: 1,166
Default

actually your memory stats show good free memory - the last number crudely represents your actual free memory, which is a third of your available. Also you're only showing having actually 3.2gb memory in total, where's the other 0.8gb gone?

your problem is more likely to be number of imap threads available or some kernel parameter related to max open threads/connection/sockets/processes. i would have thought you'll find there are quite a few people running 400+ users on your sort of hardware without problem.
Reply With Quote
  #7 (permalink)  
Old 10-21-2008, 01:00 PM
Advanced Member
 
Posts: 194
Default

Quote:
Originally Posted by dijichi2 View Post
Also you're only showing having actually 3.2gb memory in total, where's the other 0.8gb gone?
32bit OS memory addressing issues?
Reply With Quote
  #8 (permalink)  
Old 10-21-2008, 01:13 PM
Active Member
 
Posts: 36
Default

Quote:
Originally Posted by dijichi2 View Post
actually your memory stats show good free memory - the last number crudely represents your actual free memory, which is a third of your available. Also you're only showing having actually 3.2gb memory in total, where's the other 0.8gb gone?
32 bit CentOS without PAE

Quote:
Originally Posted by dijichi2 View Post
your problem is more likely to be number of imap threads available or some kernel parameter related to max open threads/connection/sockets/processes. i would have thought you'll find there are quite a few people running 400+ users on your sort of hardware without problem.
I have found in variables "zimbraImapNumThreads: 200"
Might this is a reason. I have changed it to 400.
Reply With Quote
  #9 (permalink)  
Old 11-03-2008, 04:17 AM
Partner (VAR/HSP)
 
Posts: 425
Default

Does it work for you now?
Reply With Quote
  #10 (permalink)  
Old 11-05-2008, 04:14 AM
Active Member
 
Posts: 36
Default

Yes, it helped.
As I understand web users are also use this imap sockets. Total amount (web+imap) were more than 200. After increasing this value I have no problem.
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.