[Dovecot] Too many open files
Antonio Casado Rodríguez
acasado at ual.es
Tue Oct 21 11:47:45 EEST 2008
Hi, other error in "open files":
dovecot: Oct 20 10:52:36 Fatal:
execv(/usr/local/sbin/post-login-imap-dovecot) failed: Too many open files
dovecot: Oct 20 10:52:36 Error: child 1038 (imap) returned error 84
(exec() failed)
dovecot: Oct 20 10:55:51 Fatal:
execv(/usr/local/sbin/post-login-imap-dovecot) failed: Too many open files
dovecot: Oct 20 10:55:51 Error: child 4853 (imap) returned error 84
(exec() failed)
dovecot: Oct 20 10:55:53 Fatal:
execv(/usr/local/sbin/post-login-imap-dovecot) failed: Too many open files
dovecot: Oct 20 10:55:53 Error: child 4898 (imap) returned error 84
(exec() failed)
dovecot: Oct 20 10:55:54 Fatal:
execv(/usr/local/sbin/post-login-imap-dovecot) failed: Too many open files
dovecot: Oct 20 10:55:54 Error: child 4906 (imap) returned error 84
(exec() failed)
# ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 81919
max locked memory (kbytes, -l) 32
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 10240
cpu time (seconds, -t) unlimited
max user processes (-u) 81919
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
We work in "High-performance mode" with
login_max_processes_count = 256
Our script "post-login-imap-dovecot" is:
#!/bin/sh
touch ~/.last_login
exec /usr/libexec/dovecot/imap
Now, we have this:
# lsof -p `cat /var/run/dovecot/master.pid` | wc -l
1018
¿Any idea? Thanks a lot.
Bye.
More information about the dovecot
mailing list