probbable generator hang bug in rsync

Wayne Davison wayned at samba.org
Sat Sep 24 07:18:35 GMT 2005


On Wed, Sep 21, 2005 at 10:25:41PM -0500, Steve Sether wrote:
> I have about 10 modules configured and I still get this problem.
> Any advice on finding out what's going on Wayne?

I'd suggest that you get a system-call trace of the generator that
covers the period of activity during the socket closing.  We need to see
if the generator gets any kind of a notification that the socket is now
closed.  What should happen is that the select() call should return that
the socket's fd is now ready for a write() call, and that write() call
should return an EOF error.  If the select() doesn't ever wake up, that
would seem to indicate that the socket going to rsync is really still
open (perhaps because stunnel didn't close the local socket yet).  Or,
if the select() call did wake up, perhaps the write() call returned a
try-again error (such as EAGAIN) instead of an EOF error.  If so, that
might indicate an OS bug.

..wayne..


More information about the rsync mailing list