[Bug 10092] New: Hang when remote dest's disk is full

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 10092] New: Hang when remote dest's disk is full

samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=10092

           Summary: Hang when remote dest's disk is full
           Product: rsync
           Version: 3.0.9
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: core
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]
         QAContact: [hidden email]


rsync -aAH --numeric-ids --no-inc-recursive --delete /local/.. rhost:/...

hangs forever when the disk on the remote becomes full. When used with -vi, the
output just stops.
On the remote, the rsync process exits but ssh does not; netstat shows
connected on both sides for ssh and on local for rsync.

The local rsync is stuck in select(), the remote rsync has exited.

Redirecting the local rsync's stdin/out/err to /dev/null does not improve
things.

openSUSE 12.3, openssh 6.1p1, rsync 3.0.9, kernel 3.7.10

Is there any workaround to make the local rsync quit with an error?

--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
--
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
Reply | Threaded
Open this post in threaded view
|

[Bug 10092] Hang when remote dest's disk is full

samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=10092

Wayne Davison <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #1 from Wayne Davison <[hidden email]> 2013-08-20 05:37:05 UTC ---
If rsync exits and your ssh is still around, that's a bug in your ssh and you
should be checking with that project about why they are not exiting properly.
One possible issue may be that you told ssh to do some port-forwarding (check
your default ssh config) and someone opened a forwarded connection using
rsync's ssh (in which case the ssh would stay open until all connections had
closed).

--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
--
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
Reply | Threaded
Open this post in threaded view
|

[Bug 10092] Hang when remote dest's disk is full

samba-bugs
In reply to this post by samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=10092

Volker Kuhlmann <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |[hidden email]
         Resolution|INVALID                     |

--- Comment #2 from Volker Kuhlmann <[hidden email]> 2013-10-25 05:22:48 UTC ---
Thanks Wayne, that makes perfect sense, but all rsync-related processes came up
to be non-existent so far and "that project I should be checking with" appears
to be rsync.

I was able to narrow it down a little. It is necessary to have a large number
of files (600k) and/or a large volume to transfer, like created by rsnapshot.
The hang occurs for me with --link-dest but I did not check whether this is a
necessary condition. The destination becomes full during transfer - naturally
one will want an error, not a hang.

Shell configuration, locale, and user/root on local and remote host are not
relevant.

The problem disappears with some rudimentory testing when using rsync 3.1.0.
Perhaps it has to do with the "Improved the propagation of abnormal-exit error
messages" item on the list of fixed bugs in 3.1.0? Or is it something else
that's only temporarily hidden?

--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
--
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
Reply | Threaded
Open this post in threaded view
|

[Bug 10092] Hang when remote dest's disk is full

samba-bugs
In reply to this post by samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=10092

--- Comment #3 from Kevin Korb <[hidden email]> 2013-10-25 05:26:55 UTC ---
What is this rhost:/... syntax?  Are you actually trying to make a directory
named "..."?  If not then I think you have a typo.

--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
--
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
Reply | Threaded
Open this post in threaded view
|

[Bug 10092] Hang when remote dest's disk is full

samba-bugs
In reply to this post by samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=10092

--- Comment #4 from Volker Kuhlmann <[hidden email]> 2013-10-25 05:53:22 UTC ---
I gave the relevant parts of the command only, the full version spans 3 lines
but the --exclude options and actual paths are hardly relevant. Read that as
rhost:/whateverdir/ if you prefer. The destination directory does not exist,
which is kind of required when using --link-dest.

If it really matters, the command is

rsync -aAH --numeric-ids --no-inc-recursive --delete --delete-during
/snapshots/daily.0/ rhost:/newdir -vi

with some added --exclude options, some using shell globs. The hang occurs with
and without --link-dest added in.

--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
--
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
Reply | Threaded
Open this post in threaded view
|

[Bug 10092] Hang when remote dest's disk is full

Samba - rsync mailing list
In reply to this post by samba-bugs