Manfred Rebentisch
2004-Nov-03 08:33 UTC
Urgent: rsync hangs with large directories from windows
Hello, I get hanging rsync-processes while synchronisize windows to linux, starting on linux. The problem is not new, I found some mails in this list (archive) and on http://www.mikerubel.org/computers/rsync_snapshots/#Bugs too. Example of the command: rsync -e 'ssh -i /backup/data/servers/identities/backup.W2000Server -p 22 -x -oForwardAgent=no -oClearAllForwardings=yes' --archive --delete --backup --numeric-ids --backup-dir=/backup/data/incoming/W2000Server/Daten/ backup@192.168.0.7:"D:/Datensicherung/ /backup/data/current/W2000Server/ Daten/" I do read the source-code a little and I thought, it would be nice, to rewrite some parts of the code. But first I want to know, if somebody knows, where the point of failure is. I could try to look for details, if I get some more informations about the error. Because there are no problems between two linux-systems, I think, there are errors in the cygwin-sources or in compiling the rsync.exe. It would be great, if you can help me to get in, to find out more details. Thank you in advance Manfred Rebentisch
Wayne Davison
2004-Nov-05 17:48 UTC
Urgent: rsync hangs with large directories from windows
On Wed, Nov 03, 2004 at 09:32:25AM +0100, Manfred Rebentisch wrote:> But first I want to know, if somebody knows, where the point of > failure is.That is not yet known. I can't preproduce the problem locally, so I can't debug it. One industrious user provided some system call information leading up to the hang, and it looked like rsync was in the right state to continue, but nothing was happening. The only thing we don't know is if there was any outstanding, unflushed data in the output buffer (which is one possible way that rsync could hang). If that isn't the problem, then the bug might be external to rsync. Since rsync doesn't hang in daemon mode, I'm leaning towards the external-to-rsync explanation, but it might still be rsync's problem. Any help you can provide in tracking down this problem would be much appreciated. ..wayne..