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
  #11 (permalink)  
Old 03-25-2008, 09:56 PM
Moderator
 
Posts: 6,236
Default

Originally marked the new bug a dupe per convo "bumped it back up to 10, no errors since" but on hindsight want to make sure that zimbra_session_limit_imap isn't increasing the open files by way too much in the first place or something.
Reply With Quote
  #12 (permalink)  
Old 03-27-2008, 11:42 AM
Moderator
 
Posts: 6,236
Default

Closing that bug 26323 because zimbra_session_limit_imap doesn't really open more than one file per additional connection.

Turned out to be the command:
sudo - u zimbra -s
and running:
ulimit -n
returns 1024

While:
su - zimbra
and running:
ulimit -n
returns 524288

(after we applied fix per Bug 24897 - update /etc/pam.d/su on ubuntu so ulimits get set properly yesterday)

However combining them into a command like "sudo su __" produces he proper ulimit.

Moodified his root by:
ulimit -n 2048

From Gratisoft.us - Current Stable Version of Sudo Info
Quote:
Major changes from version 1.6.9p12 to 1.6.9p13:
* Sudo will now set the nproc resource limit to unlimited on Linux systems to work around Linux's setuid() resource limit semantics. On PAM systems the resource limits will be reset by pam_limits.so before the command is executed.
So it looks like upgrading your sudo could fix it (if possible on your platform version/if your package update program goes that new -p15 is also out in a few days- or if you want to give a shot at manual methods).

OR

If your running sudo as say root - you can up the limits for root and then call sudo.

(check the /etc/security/limits.conf as well)

OR

stick with:
sudo -i
enter the password, then:
su - zimbra

Last edited by mmorse; 03-29-2008 at 11:14 AM..
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.