probbable generator hang bug in rsync

This is a discussion on probbable generator hang bug in rsync within the Rsync forums, part of the Networking and Network Related category; I've noticed this problem for a while and thought it was my own changes to rsync causing them. I'...


Go Back   Usenet Forums > Networking and Network Related > Rsync

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-10-2005
Steve Sether
 
Posts: n/a
Default probbable generator hang bug in rsync

I've noticed this problem for a while and thought it was my
own changes to rsync causing them. I've recently done some
tests with vanilla versions of rsync though, and found the
same problem. Here's the details.

The generator process on an rsync server seems to get stuck in
an infinite loop after a client process dies. (The receiver
process dies just fine). I can produce this behavior by starting rsync
on the client sending files to the server, waiting for the file generation
process to end and the file sending to start, then killing the rsync process
on the client end. I see this bug on rsync 2.6.0-2.6.6. Version 2.5.7
doesn't exhibit the same behavior.

I'm running rsync over stunnel, though I doubt that has any effect on the bug
since rsync is running in daemon mode on the server. (Stunnel thus passes
packets on to rsync via loopback). The module I'm testing under isn't running
as root, and the timeout on the server is set to 120 seconds.

Strace output for the generator process looks like this:

select(5, NULL, [4], NULL, {33, 310000}) = 0 (Timeout)
select(5, NULL, [4], NULL, {60, 0}) = 0 (Timeout)
select(5, NULL, [4], NULL, {60, 0}) = 0 (Timeout)
select(5, NULL, [4], NULL, {60, 0}) = 0 (Timeout)
select(5, NULL, [4], NULL, {60, 0}) = 0 (Timeout)
select(5, NULL, [4], NULL, {60, 0}) = 0 (Timeout)
select(5, NULL, [4], NULL, {60, 0}) = 0 (Timeout)
select(5, NULL, [4], NULL, {60, 0}) = 0 (Timeout)
select(5, NULL, [4], NULL, {60, 0}) = 0 (Timeout)

--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:52 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0