[Dovecot] ulimit -n in start-script
Peer Heinlein
p.heinlein at heinlein-support.de
Wed Mar 20 11:39:40 EET 2013
Hi!
Even on midrange-systems it's necessary to set "ulimit -n" to a higher
value then the system default of 1024.
I'd prefer having this already prepared:
In /etc/defaults/dovecot we should add:
# Set amount of "open files" / ulimit -n
ULIMIT_OPEN_FILES=16884
In /etc/init.d/dovecot we should add:
# Set amount of open files / ulimit -n
[ -n "$ULIMIT_OPEN_FILES" ] && ulimit -n $ULIMIT_OPEN_FILES
Peer
--
Heinlein Support GmbH
Schwedter Str. 8/9b, 10119 Berlin
http://www.heinlein-support.de
Tel: 030 / 405051-42
Fax: 030 / 405051-19
Zwangsangaben lt. §35a GmbHG: HRB 93818 B / Amtsgericht
Berlin-Charlottenburg,
Geschäftsführer: Peer Heinlein -- Sitz: Berlin
More information about the dovecot
mailing list