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