Re: Error in /var/log/maillog ...

2017-06-12 Thread Walter H. via Info-cyrus

On 12.06.2017 20:02, Adam Tauno Williams wrote:

Quoting "Walter H. via Info-cyrus" :

on my CentOS6 I see this error
Jun 12 08:02:33 mail master[1941]: setrlimit: Unable to set file
descriptors limit to -1: Operation not permitted


It is normal-ish.

It might be useful to look at /etc/security/limits.conf and ulimits in 
general.



/etc/security/limits.conf is empty (everything is commented out)

/etc/security/limits.d/90-nproc.conf is this

<90-nproc.conf>
# Default limit for number of user's processes to prevent accidental 
fork bombs.

# See rhbz #432903 for reasoning.

*  softnproc 1024
root   softnproc unlimited





smime.p7s
Description: S/MIME Cryptographic Signature

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

Re: Error in /var/log/maillog ...

2017-06-12 Thread Adam Tauno Williams

Quoting "Walter H. via Info-cyrus" :

on my CentOS6 I see this error
Jun 12 08:02:33 mail master[1941]: setrlimit: Unable to set file
descriptors limit to -1: Operation not permitted


It is normal-ish.

It might be useful to look at /etc/security/limits.conf and ulimits in  
general.




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


Re: Error in /var/log/maillog ...

2017-06-12 Thread Michael Menge

Hi,


Quoting "Walter H. via Info-cyrus" :


Hello,

on my CentOS6 I see this error

Jun 12 08:02:33 mail master[1941]: setrlimit: Unable to set file
descriptors limit to -1: Operation not permitted



This is a common error message that is logged on cyrus start/restart,
which is normally followed by a message like "retrying with 8192  
(current max)"



what is causing this?



Cyrus need to handle many open files/connections, so cyrus tries to unlimit
the number of file descriptors on start, which is not allowed on all systems
(depending on OS and/or configuration)



Thanks,
Walter


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





M.MengeTel.: (49) 7071/29-70316
Universität Tübingen   Fax.: (49) 7071/29-5912
Zentrum für Datenverarbeitung  mail:  
michael.me...@zdv.uni-tuebingen.de

Wächterstraße 76
72074 Tübingen


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

Error in /var/log/maillog ...

2017-06-11 Thread Walter H. via Info-cyrus
Hello,

on my CentOS6 I see this error

Jun 12 08:02:33 mail master[1941]: setrlimit: Unable to set file
descriptors limit to -1: Operation not permitted

what is causing this?

Thanks,
Walter


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