From: Thomas J. <tho...@in...> - 2010-07-28 11:31:58
|
On Tuesday, 27. July 2010 16:56:52 Matthias Andree wrote: > > I recently had two cases of hanging fetchmail processes > > during TLS negotiation with two different servers. > > Might be a missing call to set_timeout() around the POP3 STLS/getauth() > related methods. Try wrapped SSL ("ssl" option) as a workaround, it > might help, and if so, help debugging. The issue only appears every other month or so. I also thought about adding debug output to set_timeout() so we could trace the last set timeout, though this will only give a close approximation where that problem is. (or none at all if the code mostly uses the same timeout values) This morning I had a better idea: Enable core dumps and kill the task via "kill -11" if it hangs again. Then we'll know for sure where it's stuck. I prefer not to add the workaround for now as I'd like to trace the real issue. Thanks, Thomas |