Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: [SOLVED] Too many open files error after increasing zimbra_session_limit_imap

  1. #11
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    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.

  2. #12
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    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
    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 10:14 AM.

Similar Threads

  1. [SOLVED] Too many open files error
    By sdemeyer in forum Administrators
    Replies: 7
    Last Post: 04-02-2008, 08:57 AM
  2. Error message in Server status
    By Max Ma in forum Installation
    Replies: 20
    Last Post: 04-19-2007, 08:55 AM
  3. svn version still won't start
    By kinaole in forum Developers
    Replies: 0
    Last Post: 10-04-2006, 06:47 AM
  4. Replies: 16
    Last Post: 09-07-2006, 06:39 AM
  5. The mailbox and mta dies in FC4 GA version
    By meikka in forum Installation
    Replies: 72
    Last Post: 03-16-2006, 04:30 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
  •