Attached patch should workaround this. The main problem with it is that Dovecot doesn't die very easily after this. You have to kill all the processes manually. I'll probably have to add yet another pipe just for this.
Yes. Plenty of killall's are now needed!
So what does this patch actually do?
All client processes used to check on the master's status FD to check if it is still alive. And you disabled that?
But I wonder if this could be considered a kernel bug too? I think I'll write a small test program and see what lkml thinks about it. Oh, and seeing if other operating systems handle it better would be interesting too.
BTW. I actually considered this already last week but then I thought it can't be it since v1.2 did the same thing. But no, v1.2 doesn't really do the same thing.
:)
-- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt@charite.de | http://www.charite.de