Steven F Siirila
2007-Mar-28 19:58 UTC
[Dovecot] auth server refusing connections intermittently
Running Dovecot 1.0-rc27 on Solaris 10.. We have been noticing intermittent messages of this sort and wondered if this indicates whether we need to add more dovecot-auth worker processes: Mar 28 03:15:41 myhost dovecot: pop3-login: Can't connect to auth server at default: Connection refused Mar 28 08:10:20 myhost dovecot: imap-login: Can't connect to auth server at default: Connection refused Mar 28 09:08:13 myhost dovecot: imap-login: Can't connect to auth server at default: Connection refused Mar 28 10:23:38 myhost dovecot: imap-login: Can't connect to auth server at default: Connection refused Mar 28 10:35:37 myhost dovecot: imap-login: Can't connect to auth server at default: Connection refused Mar 28 10:50:59 myhost dovecot: imap-login: Can't connect to auth server at default: Connection refused Mar 28 12:00:44 myhost dovecot: pop3-login: Can't connect to auth server at default: Connection refused Mar 28 12:07:31 myhost dovecot: imap-login: Can't connect to auth server at default: Connection refused Mar 28 14:44:57 myhost dovecot: imap-login: Can't connect to auth server at default: Connection refused However, this system has over 7,000 users and 1,500 simultaneous IMAP and POP3 connections, and we only see one dovecot-auth process running. By contrast, another server has over 11,000 users and 3,000 simultaneous IMAP and POP3 connections (but is currently running rc24), and we only have seen 3 of the above error messages there -- and there is only one dovecot-auth process there as well. Does this sound right? Also, how many times are these connections retried (and at what sleep interval, if any) before it gives up? -- Steven F. Siirila Office: Lind Hall, Room 130B Internet Services E-mail: sfs at umn.edu Office of Information Technology Voice: (612) 626-0244 University of Minnesota Fax: (612) 626-7593
Timo Sirainen
2007-Mar-28 20:19 UTC
[Dovecot] auth server refusing connections intermittently
On 28.3.2007, at 22.58, Steven F Siirila wrote:> Running Dovecot 1.0-rc27 on Solaris 10.. > > We have been noticing intermittent messages of this sort and > wondered if > this indicates whether we need to add more dovecot-auth worker > processes: > > Mar 28 03:15:41 myhost dovecot: pop3-login: Can't connect to auth > server at default: Connection refusedThis change should help with these (rc28): 2007-03-16 15:23 Timo Sirainen <tss at iki.fi> * src/: auth/auth-worker-server.c, lib-auth/auth-server-connection.c: If net_connect_unix() fails, assume also that ECONNREFUSED may be a temporary failure. It can happen if we exceeded the listener's backlog. Auth worker processes anyway don't matter here, the connections are accpted by the master dovecot-auth process. You could increase them from count setting inside auth block, but I'm not sure if that could cause other problems. -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20070328/ac461f78/attachment.bin>