samba-bugs@samba.org
2005-Oct-01 11:41 UTC
[Bug 2957] rsync hangs when client put files to server (checked in 2.6.6 too)
https://bugzilla.samba.org/show_bug.cgi?id=2957 ------- Additional Comments From bugzilla.samba@neufeind.net 2005-10-01 04:24 ------- Think I am experiencing the same here. @szczur: Did it work for you with another version of rsync? Are you using an stunnel between the machines or anything? Is the rsync-receiver or the sender the problem? -- 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.
samba-bugs@samba.org
2005-Oct-02 14:21 UTC
[Bug 2957] rsync hangs when client put files to server (checked in 2.6.6 too)
https://bugzilla.samba.org/show_bug.cgi?id=2957 ------- Additional Comments From bugzilla.samba@neufeind.net 2005-10-02 07:10 ------- Created an attachment (id=1464) --> (https://bugzilla.samba.org/attachment.cgi?id=1464&action=view) Backtrace and syscall of client+server This is the backtrace from rsync on client and server using rsync 2.6.6-2 as currently shipped by Fedora-development - also using the separate debuginfo-package they provide: http://download.fedora.redhat.com/pub/fedora/linux/core/development/i386/debug/ -- 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.
samba-bugs@samba.org
2005-Oct-02 14:21 UTC
[Bug 2957] rsync hangs when client put files to server (checked in 2.6.6 too)
https://bugzilla.samba.org/show_bug.cgi?id=2957 ------- Additional Comments From bugzilla.samba@neufeind.net 2005-10-02 07:14 ------- See attached backtrace. Client+server are hung in a select-syscall. The sync is currently runnign through an stunnel for security-reasons, but a colleague said the same occured even without stunnel running. Killing the sync and restarting it a few times, finally makes the sync go through step by step. It seems that it has got to do something with the number of files which need to be synced or similar. The file which is synced when the hang occurs is not "locked" or anything - it's a static image that was created hours ago in this case. PS: Please update version-number of this bug to 2.6.6! -- 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.
samba-bugs@samba.org
2005-Oct-07 15:01 UTC
[Bug 2957] rsync hangs when client put files to server (checked in 2.6.6 too)
https://bugzilla.samba.org/show_bug.cgi?id=2957 ------- Additional Comments From peter.keitler@baltech.de 2005-10-07 07:57 ------- Think, we observe the same problem here. I implemented a compilerserver since our compiler is dongled. Source files (mainly *.c, *.h and *.asm) are synced with the server (Win XP, SP2, Cygwin, rsync 2.6.3) before the Makefile is invoked there via ssh. So far, everything works fine. Afterwards, the generated files (mainly *.o, *.d, *.lst and *.hex) shall be synced back to the client (Win XP SP2, Cygwin with rsync 2.6.6) I tried different versions, ssh tunnel (single :) and rsync server (doble :), the problem remains the same. The server process hangs. I have to kill it with 'kill -9 <pid> and after that, the client prints the following error message: rsync: read error: Connection reset by peer (104) rsync error: error in rsync protocol data stream (code 12) at /home/lapo/packaging/tmp/rsync-2.6.6/io.c(584) rsync: connection unexpectedly closed (8157 bytes received so far) [generator] rsync error: error in rsync protocol data stream (code 12) at /home/lapo/packaging/tmp/rsync-2.6.6/io.c(434) Error: Communication channel to compilerserver crashed. The sync finally goes through when I repeat the back-syncing sequence several times, thus killing the server process and invoking the sync again. -- 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.
samba-bugs@samba.org
2005-Oct-10 10:01 UTC
[Bug 2957] rsync hangs when client put files to server (checked in 2.6.6 too)
https://bugzilla.samba.org/show_bug.cgi?id=2957 ------- Additional Comments From peter.keitler@baltech.de 2005-10-10 03:00 ------- Created an attachment (id=1495) --> (https://bugzilla.samba.org/attachment.cgi?id=1495&action=view) Simple shellscript for reproducing the bug This simple script reproduces the problem reliably (at least on our machines here). Once started, the script logs in via ssh to the server and generates there 500 files with a fixed size of 5000 bytes. After that, rsync is invoked to sync these files with the client machine. The sync-process crashes when it is run for the second time, thus when files with the same name already exist on the client. Strangly enough, the number of the file where the crash occurs is somewhere between 100 and 200, if I reduce the amount of files to sync from 500 to 200, however, everything works fine. -- 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.
samba-bugs@samba.org
2005-Oct-10 23:41 UTC
[Bug 2957] rsync hangs when client put files to server (checked in 2.6.6 too)
https://bugzilla.samba.org/show_bug.cgi?id=2957 ------- Additional Comments From bugzilla.samba@neufeind.net 2005-10-10 16:36 ------- Tried the shell-script here: Creating files, syncing, creating files with other content, syncing - all fine. Even with 2500 instead of 500 files. Too bad :-( Any possibility too track it down further with the backtrace or so? -- 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.
samba-bugs@samba.org
2005-Oct-11 14:21 UTC
[Bug 2957] rsync hangs when client put files to server (checked in 2.6.6 too)
https://bugzilla.samba.org/show_bug.cgi?id=2957 ------- Additional Comments From peter.keitler@baltech.de 2005-10-11 07:03 ------- Created an attachment (id=1498) --> (https://bugzilla.samba.org/attachment.cgi?id=1498&action=view) rsync server log -- 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.
samba-bugs@samba.org
2005-Oct-11 14:21 UTC
[Bug 2957] rsync hangs when client put files to server (checked in 2.6.6 too)
https://bugzilla.samba.org/show_bug.cgi?id=2957 ------- Additional Comments From peter.keitler@baltech.de 2005-10-11 07:02 ------- Created an attachment (id=1497) --> (https://bugzilla.samba.org/attachment.cgi?id=1497&action=view) rsync server configuration -- 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.
samba-bugs@samba.org
2005-Oct-11 14:21 UTC
[Bug 2957] rsync hangs when client put files to server (checked in 2.6.6 too)
https://bugzilla.samba.org/show_bug.cgi?id=2957 peter.keitler@baltech.de changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #1495 is|0 |1 obsolete| | ------- Additional Comments From peter.keitler@baltech.de 2005-10-11 07:10 ------- Created an attachment (id=1499) --> (https://bugzilla.samba.org/attachment.cgi?id=1499&action=view) Shellscript using rsync server -- 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.
samba-bugs@samba.org
2005-Oct-11 14:21 UTC
[Bug 2957] rsync hangs when client put files to server (checked in 2.6.6 too)
https://bugzilla.samba.org/show_bug.cgi?id=2957 ------- Additional Comments From peter.keitler@baltech.de 2005-10-11 07:19 ------- I tried the same script with our Linux server as rsync server (rsync 2.6.0). In this constellation, everything is ok. So maybe, I am confronted with a pure Cygwin problem that is different from the original bug 2957 that has been reported on a Linux system. Do you have the possibility to reproduce it with Cygwin or shall I report the problem in the cygwin list? Anyway, the problem is not independent of timing. I wrote yesterday that the script has to be invoked twice (assuming testdir and its contents don't exist), thus the files have to be overwritten on the client. I just switched to rsync server mode (::) and activated debugging messages with '-vvvvvvvvvv'. Now, it gets stuck already in the first run.> Any possibility too track it down further with the backtrace or so?I'm not familiar with cygwin debugging. The cygwin 'ps' command shows an 'O' which means that rsync gets stuck in an 'Output' operation. $ ps PID PPID PGID WINPID TTY UID STIME COMMAND 3796 3196 3796 3364 1 1013 16:15:11 /usr/bin/bash O 1588 2436 1588 2944 ? 1013 16:16:48 /usr/bin/rsync 3408 3796 3408 3200 1 1013 16:17:24 /usr/bin/ps Invoking 'strace' then just shows $ strace -p 1588 Attached to pid 1588 (windows pid 2944) 11 11 [unknown (0x108)] rsync 1588 _cygtls::remove: wait 0x0 Don't know if this is useful. Please tell me what to do, if necessary. -- 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.
samba-bugs@samba.org
2005-Oct-11 16:40 UTC
[Bug 2957] rsync hangs when client put files to server (checked in 2.6.6 too)
https://bugzilla.samba.org/show_bug.cgi?id=2957 ------- Additional Comments From wayned@samba.org 2005-10-11 09:39 ------- (In reply to comment #3)> Created an attachment (id=1464)--> (https://bugzilla.samba.org/attachment.cgi?id=1464&action=view) [edit]> Backtrace and syscall of client+serverThere are 3 rsync processes involved in a transfer: two on the receiving side, and one on the sending side. We'd need to see strace info for all 3 to get the full information for what's happening. -- 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.
samba-bugs@samba.org
2005-Oct-11 16:40 UTC
[Bug 2957] rsync hangs when client put files to server (checked in 2.6.6 too)
https://bugzilla.samba.org/show_bug.cgi?id=2957 wayned@samba.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Additional Comments From wayned@samba.org 2005-10-11 09:36 ------- (In reply to comment #1)> Created an attachment (id=1357)--> (https://bugzilla.samba.org/attachment.cgi?id=1357&action=view) [edit]> strace -f /usr/local/rsync-2.6.6/bin/rsyncThis strace shows that the sender is just waiting to send some data down the socket, which means that the receiver hasn't cleared the socket to allow more data to be written. Thus, we need to see what the receiver is/was doing. If the receiving side is the server, you should run the daemon like this: strace -f rsync --daemon --no-detach If you run that inside a "script" session, all the strace output will be logged. -- 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.
samba-bugs@samba.org
2005-Oct-11 17:01 UTC
[Bug 2957] rsync hangs when client put files to server (checked in 2.6.6 too)
https://bugzilla.samba.org/show_bug.cgi?id=2957 ------- Additional Comments From wayned@samba.org 2005-10-11 09:43 ------- (In reply to comment #11)> So maybe, I am confronted with a pure > Cygwin problem that is different from the original bug 2957 that has been > reported on a Linux system.Anytime a remote-shell is used in a Cygwin scenario, you are subject to Cygwin's pipe-data bug where data can potentially be lost. As soon as they fix this, the hangs should stop. Until then, you can use daemon mode directly (not daemon mode over ssh). -- 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.
samba-bugs@samba.org
2005-Oct-11 19:20 UTC
[Bug 2957] rsync hangs when client put files to server (checked in 2.6.6 too)
https://bugzilla.samba.org/show_bug.cgi?id=2957 ------- Additional Comments From bugzilla.samba@neufeind.net 2005-10-11 12:10 ------- Over here no cygwin is involved. Only rsync over an stunnel using xinetd. Colleague said he even tried that without stunnel, but with no better success. I did try the test-script as well - but neither with 500 nor 2500 generated random-files I was able to reproduce the problem "cleanly" unfortunately :-( I did attach a backtrace and the syscall in which it hangs already. Is more detailed information needed? Since the problem (at least here) is not cleanly reproduceable with demo-data unfortunately the _full_ strace-log might include sensitive data, that I wouldn't appreciate to be online. So in case you could narrow the problem (strace-output) a bit down or provide some kind of test-scripts that would really help! -- 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.
samba-bugs@samba.org
2005-Oct-12 15:01 UTC
[Bug 2957] rsync hangs when client put files to server (checked in 2.6.6 too)
https://bugzilla.samba.org/show_bug.cgi?id=2957 ------- Additional Comments From peter.keitler@baltech.de 2005-10-12 07:55 ------- Seems as using a rsync daemon via TCP solves the problem for me. I have not encountered any of the afore-mentioned problems so far with it. Thank you very much for this information. Cheers, Peter -- 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.
samba-bugs@samba.org
2005-Oct-12 16:01 UTC
[Bug 2957] rsync hangs when client put files to server (checked in 2.6.6 too)
https://bugzilla.samba.org/show_bug.cgi?id=2957 ------- Additional Comments From peter.keitler@baltech.de 2005-10-12 08:56 ------- It really seems to be a cygwin bug. Sorry for not trying TCP before... Thanx again -- 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.
samba-bugs@samba.org
2005-Oct-22 11:40 UTC
[Bug 2957] rsync hangs when client put files to server (checked in 2.6.6 too)
https://bugzilla.samba.org/show_bug.cgi?id=2957 ------- Additional Comments From bugzilla.samba@neufeind.net 2005-10-22 04:38 ------- I'm using it via ssltunnel here - so I suspect iit does neither have to do with tcp-or-not-tcp nor cygwin (running under Linux). Is there any test-script I can help you with, or any further information? -- 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.
samba-bugs@samba.org
2005-Oct-22 17:21 UTC
[Bug 2957] rsync hangs when client put files to server (checked in 2.6.6 too)
https://bugzilla.samba.org/show_bug.cgi?id=2957 ------- Additional Comments From wayned@samba.org 2005-10-22 10:18 ------- (In reply to comment #18)> Is there any test-script I can help you with, > or any further information?As mentioned in comment #13 (which was a reply to you), we need to see what all 3 processes were doing right before the hang in order to narrow the problem down. The 2 processes you traced were both doing what they were supposed to be doing, so we need to see what the 3rd process was doing. -- 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.
samba-bugs@samba.org
2005-Oct-22 17:41 UTC
[Bug 2957] rsync hangs when client put files to server (checked in 2.6.6 too)
https://bugzilla.samba.org/show_bug.cgi?id=2957 ------- Additional Comments From wayned@samba.org 2005-10-22 10:26 ------- Also, don't forget the advice from the first entry on the issues-and-debugging page about reporting the send/receive queue info from netstat: http://rsync.samba.org/issues.html That will also help. -- 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.
Reasonably Related Threads
- Strange problem with WINS address resolution
- DO NOT REPLY [Bug 2957] rsync hangs when client put files to server (checked in 2.6.6 too)
- DO NOT REPLY [Bug 2957] rsync hangs when client put files to server (checked in 2.6.6 too)
- DO NOT REPLY [Bug 1890] TLS for rsync protocol
- [Bug 16736] New: NVS 135M not supported