Re: 1.2.x and SIGPIPE

Jerry Lundström <[email protected]> Tue, 06 Sep 2005 23:10:42 +0200
Newsgroups gmane.mail.imap.binc.devel
Organization Section IT and Media, Stockholm University, Sweden
Message-ID <[email protected]>
Andreas Aardal Hanssen wrote:
> On Tue, 6 Sep 2005, Jerry Lundström wrote:
> 
>>Hi,
>>I see that in 1.2.x the authenticate function ignores SIGPIPE and this 
>>leaves alot of "zombie" bincimap-up processes on our boxes after a 
>>while. I was just wondering what the reason for ignoring it was?
> 
> 
> Ignoring SIGPIPE just means we don't care about the signal - write() and 
> read() still return -1 and errno will be set to EPIPE.
> 
> I do see "sleeping" bincimap-up processes sometimes, but never saw any 
> zombies. So there's definitely something we can do about the former..

I am going to run a small patch on my testserver to see if I can get it 
to work better. I will also add the capability to close the connection 
protocolwise if any of the daemons receives SIGTERM.

-- 
Jerry Lundström
Sektionen för IT och media, Stockholms universitet
+46 (0)8 16 19 99 / http://www.it.su.se