Re: [Dovecot] Dovecot 1.1.11 failing to accept SSL/TLS connections

2009-04-08 Thread Timo Sirainen
On Thu, 2009-03-19 at 16:56 +, Mike Brudenell wrote: > destroy_count = max_connections > CLIENT_DESTROY_OLDEST_COUNT*2 ? > CLIENT_DESTROY_OLDEST_COUNT : I_MIN(max_connections/2, 1); > > should set destroy_count to CLIENT_DESTROY_OLDEST_COUNT, which is 16. So I > was exp

Re: [Dovecot] Dovecot 1.1.11 failing to accept SSL/TLS connections

2009-03-20 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 19 Mar 2009, Timo Sirainen wrote: It's the "dovecot" process that has trouble with the fd limits, because it needs one fd for each child process (for logging). Dunno if it is related or helpful, I use v1.10 still. When I had login_max_pro

Re: [Dovecot] Dovecot 1.1.11 failing to accept SSL/TLS connections

2009-03-19 Thread Timo Sirainen
On Thu, 2009-03-19 at 14:01 +, Mike Brudenell wrote: > When I upgraded from 1.0.15 I had 1.1.11 telling me off for having the fd > limit set too low at 2048 when I started Dovecot. Instead it told me to > raise the limit to at least 10128, so I did. Hence I was a bit surprised to > find the lim

Re: [Dovecot] Dovecot 1.1.11 failing to accept SSL/TLS connections

2009-03-19 Thread Timo Sirainen
On Thu, 2009-03-19 at 15:10 +, Mike Brudenell wrote: > dovecot: Mar 19 13:29:34 Info: imap-login: Disconnected: Connection queue > full (no auth attempts): rip=144.32.N.N, lip=144.32.N.N This is the reason why I suggested increasing the max connection count. There has to be some bug related to

Re: [Dovecot] Dovecot 1.1.11 failing to accept SSL/TLS connections

2009-03-19 Thread Mike Brudenell
Hi (again!) Timo, 2009/3/19 Mike Brudenell > > Grepping the code suggests this is presumably coming > from src/imap-login/client.c > > I'm now peering at the code trying to see if I can spot anything, but have > to confess to not being too wonderful in the area of sockets etc. > > Cheers, > Mike

Re: [Dovecot] Dovecot 1.1.11 failing to accept SSL/TLS connections

2009-03-19 Thread Mike Brudenell
Hi again... 2009/3/19 Mike Brudenell > > 2009/3/13 Timo Sirainen > >> On Mon, 2009-03-09 at 17:41 +, Mike Brudenell wrote: >> > We have grown to suspect it is to do with one of the imap-login >> processes >> > having a large number of files open. Killing the process seems to get >> rid of >

Re: [Dovecot] Dovecot 1.1.11 failing to accept SSL/TLS connections

2009-03-19 Thread Mike Brudenell
Hi! Sorry for the delay in replying: I was waiting for the problem to recur so I could double-check the logs and the states of the imap-login processes. 2009/3/13 Timo Sirainen > On Mon, 2009-03-09 at 17:41 +, Mike Brudenell wrote: > > We have grown to suspect it is to do with one of the ima

Re: [Dovecot] Dovecot 1.1.11 failing to accept SSL/TLS connections

2009-03-13 Thread Timo Sirainen
On Mon, 2009-03-09 at 17:41 +, Mike Brudenell wrote: > We have grown to suspect it is to do with one of the imap-login processes > having a large number of files open. Killing the process seems to get rid of > the problem. You didn't mention if you actually saw "Too many open files" errors in

[Dovecot] Dovecot 1.1.11 failing to accept SSL/TLS connections

2009-03-09 Thread Mike Brudenell
Greetings - We are running Dovecot 1.1.11 on our servers and have been gradually migrating people off our old (UW-based) systems onto the new (Dovecot-based) ones. As a result the new systems are seeing more connections from more people. We have started seeing problems reported by users of our web