DO NOT REPLY [Bug 3271] Rsync instances stay in memory when using in daemon mode

bugzilla-daemon at dp3.samba.org bugzilla-daemon at dp3.samba.org
Wed Feb 1 19:53:33 GMT 2006


https://bugzilla.samba.org/show_bug.cgi?id=3271





------- Comment #11 from wayned at samba.org  2006-02-01 12:53 MST -------
Sorry for forgetting to get back to this bug for so long.  I've finally
analyzed the strace output, and it shows that the generator received an error
about the socket closing from the receiver (who was obviously trying to read
it), but when the generator tries to select on that socket to write out the
error message, the select never returns that the dead socket is writeable.

I have chosen to deal with this situation by adding a new sibling message: 
when the receiver is reporting a socket-read error, the generator will note
this fact and avoid writing an error down the socket, allowing it to close down
gracefully when the pipe from the receiver closes.  I have checked this fix
into CVS.

However, one can imagine a situation where the generator got a read-error on
the socket and then died before being able to tell this to the generator.  To
handle this case, I am looking into a modification of the idea that James was
working on in his patches.


-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the rsync mailing list