Re: [exim] O_NONBLOCK / ``421 lost input connection'' in exi…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Philip Hazel
Dátum:  
Címzett: Chris Lightfoot
CC: exim-users
Tárgy: Re: [exim] O_NONBLOCK / ``421 lost input connection'' in exim 4.60
On Tue, 21 Mar 2006, Chris Lightfoot wrote:

> Further inspection with ktrace indicates that something
> was setting O_NONBLOCK on the input stream (smtp_in in
> smtp_in.c); the first read from the stream will then
> typically fail with -EAGAIN, which is treated as an error.


As you say, Exim doesn't use O_NONBLOCK on the input file descriptor,
and this problem has not been reported by anybody else. There are
certainly people running Exim under FreeBSD - indeed I tested it on the
exim.org machine.

> So, anyway, I have a temporary fix, but if it'd be useful
> to investigate this further I'm happy to help.


I don't think there's anything I can do myself, because the problem
doesn't arise on the FreeBSD system to which I have access. Your fix
seems innocuous, but I'm not too keen on just putting it in without
understanding why it should be necessary.

-- 
Philip Hazel            University of Cambridge Computing Service
Get the Exim 4 book:    http://www.uit.co.uk/exim-book