[BlueOnyx:12604] Re: Dovecot dies with anvil too many open files

David Thacker David at ThackerNet.com
Fri Mar 22 18:22:55 -05 2013


>I wonder if I'm having the same problems.
> On one server I'm getting these:
> dovecot: pop3-login: Error: auth: connect(login) failed: Connection 
> refused
>
> dovecot: imap-login: Error: auth: connect(login) failed: Connection 
> refused
>
> I have to manually kill all dovecot processes and have it restart before
> people can log in again.
> Could this also be a similar issue?
> Gregg

Yup, could be the same problem. Look for lines like these in your mail 
log:

Mar 21 04:01:14 bx dovecot: pop3-login: Error: socket(anvil) failed: Too 
many open files
Mar 21 04:01:14 bx dovecot: pop3-login: Error: net_connect_unix(anvil) 
failed: Too many open files
Mar 21 04:01:14 bx dovecot: pop3-login: Fatal: Couldn't connect to anvil
Mar 21 04:01:14 bx dovecot: master: Error: service(pop3-login): command 
startup failed, throttling
Mar 21 04:01:15 bx dovecot: imap-login: Error: socket(anvil) failed: Too 
many open files
Mar 21 04:01:15 bx dovecot: imap-login: Error: net_connect_unix(anvil) 
failed: Too many open files
Mar 21 04:01:15 bx dovecot: imap-login: Fatal: Couldn't connect to anvil
Mar 21 04:01:15 bx dovecot: master: Error: service(imap-login): command 
startup failed, throttling


I either ssh in and do "service dovecot restart" or I toggle the POPS 
server off and then back on in the admin GUI to get it going again.

I'm puzzled why the Active Monitor script can't seem to restart Dovecot, 
when I can restart it manually.

dAvid tHacker                                  Email: David at ThackerNet.com
Thacker Network Technologies Inc.                http://www.ThackerNet.com




More information about the Blueonyx mailing list