[Dovecot] Leaky dovecot-auth ?

Timo Sirainen tss at iki.fi
Mon Jul 2 18:44:47 EEST 2007


On Tue, 2007-07-03 at 00:17 +0900, Christian Balzer wrote:

> > > Jun 22 15:08:58 mb11 dovecot: listen(143) failed: Interrupted system
> > > call
> > 
> > Did you use killall? I think this happens only with it.

Not even with it actually. I was probably thinking about something else.

> Nope, this is a Debian/Linux show and I did HUP just the master process.
> It only happened some of the times on the (then) busiest node, but it 
> clearly is a race condition of sorts. Set up a test environment with
> about 30-50 logins/second and I'm sure you can reproduce it. ;)

Not even with 1100 logins/sec. :)

And in the code I'm already catching EINTR. Only if listen() fails 10
times with EINTR it exits with that error. And between those 10 listen()
calls is a 1 second sleep. But of course if the process is getting
signals all the time the sleep also fails with EINTR. But a single HUP
signal shouldn't interrupt more than a single syscall, so I've really no
idea what's happening.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20070702/10b2a733/attachment-0001.bin 


More information about the dovecot mailing list