On Fri, Aug 03, 2001 at 03:07:57PM +0100, Richard Underwood wrote:
> Hi,
>
> I asked about qmail-remote processes hanging in read() on this list
> a few days ago. It appears that this has been reported before, but no
> conclusion seemed to have been made.
I just looked at the server I had problems with -- 15 hung qmail-remotes :(
<snip>
> Another solution, which I have been trying over the last few days is
> to turn on socket keep alives. This has the effect of closing the socket if
> no data has been sent over it for a fixed period (usually 2 or 3 hours.) The
> read() call will end as if the remote host dropped the connection and
> qmail-remote will terminate normally.
>
> It all seems to be working, so if anyone else is having the same
> problem, you may like to try this fix too. I've included a patch for
> qmail-remote.c - it's not exactly beautiful code, but it works for me.
>
How did you test this patch?
Are you saying that you were able to reliably reproduce the problem?
I could never do this... If so, how?
There is a lot of mistery in this: Most (but not all) reports
had connections hung to outblaze.com
Most (but not all) servers ran Linux.
It's weird...