Hello again This problem may well be a "half open TCP connection" problem and nothing directly to do with rsync other than the mechanism used by rsync to terminate in an error condition.
Thanks Gary > -----Original Message----- > From: [email protected] [mailto:rsync- > [email protected]] On Behalf Of Gary Partis > Sent: 06 February 2012 10:30 > To: [email protected] > Subject: Rsync v2.6.9 hangs > > Hi all > > We have a legacy system, which utilises rsync for file transfer - but > occasionally hangs on the clinet. > > We tracked this down to the read_timeout function in io.c. It performs a > select(), which appears to return a zero, so the read_timeout function never > exists. An strace shows what happens : > > [root@tcu ~]# strace -p 10566 > Process 10566 attached - interrupt to quit select(4, [3], [], NULL, {33, > 764484}) = 0 (Timeout) > select(4, [3], [], NULL, {60, 0}) = 0 (Timeout) > select(4, [3], [], NULL, {60, 0}) = 0 (Timeout) > select(4, [3], [], NULL, {60, 0}) = 0 (Timeout) > select(4, [3], [], NULL, {60, 0}) = 0 (Timeout) > select(4, [3], [], NULL, {60, 0}) = 0 (Timeout) > select(4, [3], [], NULL, {60, 0}) = 0 (Timeout) > select(4, [3], [], NULL, {60, 0}) = 0 (Timeout) > select(4, [3], [], NULL, {60, 0}) = 0 (Timeout) > select(4, [3], [], NULL, {60, 0}) = 0 (Timeout) > select(4, [3], [], NULL, {60, 0}) = 0 (Timeout) > select(4, [3], [], NULL, {60, 0}^C <unfinished ...> Process 10566 detached > > Other than killing the process, which in some cases can be hung for several > days, is there another option/parameter to allow for eventual timeout and > exit? > > Thanks in advance, > > Gary > > -- > Please use reply-all for most replies to avoid omitting the mailing list. > To unsubscribe or change options: > https://lists.samba.org/mailman/listinfo/rsync > Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html > > -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
