fetchmail-friends
[Top] [All Lists]

[fetchmail]hangup after timeout on ppp interface...

2001-09-26 01:29:38
fetchmail seems to hang after a timeout during cleanup. This does not
always happen. However, when it happens, this hang can go for hours.
I have noticed this happen infrequently over ppp connections after the
connection goes down. Basically, no message appears for a long time
after this message:

timeout after 300 seconds waiting for server ....

indicating that the hangup has occurred during cleanup.

The main reason seems to be that a close on sockets after the ppp
connection goes down gets blocked for a long time. This could be more
of a kernel issue than a fetchmail issue regarding the blocking of
socket closure. However, a timeout can be set before attempting the
socket closure.

The attached patch sets a (nonconfigurable) timeout for socket
closures only during cleanup.

Sunil Shetye.

Attachment: fetchmail-5.9.1-forceclose.patch
Description: Text document

<Prev in Thread] Current Thread [Next in Thread>
  • [fetchmail]hangup after timeout on ppp interface..., Sunil Shetye <=