On Tue, 2008-01-08 at 09:42 -0600, Harrison Metzger wrote:
Hello,
I have dovecot installed and it works for about 3 hours then I get this error (in /var/log/maillog):
Jan 8 08:42:53 stu dovecot: auth(default): pam(grossmsm,69.131.100.47): pipe() failed: Too many open files
I set pam_limits.so to allow the user 'dovecot' to have 8192 open files, and I also changed:
dovecot-auth isn't (or shouldn't!) be running as "dovecot" user. See http://wiki.dovecot.org/UserIds. Also I don't think pam_limits settings matter for dovecot-auth, since it's started by dovecot master which was started as root, and PAM is never called in the middle. So the only thing that affects number of fds is "ulimit -n" value before dovecot was started.
What Dovecot version are you using? How many dovecot-auth processes do you have running after a while?