Re: 4096 file descriptors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2012-08-22 at 14:43 -0400, Ron Vachiyer wrote: 
> Quick question about filedescriptors.  On Centos6, cyrus 2.3.16 seems
> to be able to open 4096 FDs ;
> master[27121]: retrying with 4096 (current max)
> ulimit -a says 1024;
> open files                      (-n) 1024
> I am looking to increase this, and have found some documentation
> saying to increse file-max in /proc.  However, file-max already has a
> much larger number;
> cat /proc/sys/fs/file-max
> 1201105

Yep

> The only way I have found so far is to add a ulimit -n 8192
> in /etc/rc.d/init.d/cyrus-imapd

man pam_limits

> Is there a more generic/cleaner way to do this?

Yep, you can setup a limits.conf file that adjusts limits per user, per
group, etc... 

Attachment: signature.asc
Description: This is a digitally signed message part

----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux