search for: read_msg_fd

Displaying 12 results from an estimated 12 matches for "read_msg_fd".

2006 Dec 10
1
Rsync 2.6.9 Develops Conflict Between --stats, I think --delete-after and Local Filesystem Replication
Hi all, Well, yeah, that's it, really. :-) Try it. Works consistently, on Doze and Linux here ... # rsync -vvrlHSPtiypogD --stats --numeric-ids --delete-after --force -- partial-dir=.partial /tmp/ /var/tmp/ [...show stats...] unknown message 4:1 [generator] rsync error: error in rsync protocol data stream (code 12) at io.c(307) [generator=2.6.9] rsync: connection unexpectedly closed (26
2007 Jan 21
2
using rsync 3.0.0 CVS version
Hi, I've wanted to start working with this CVS version cuz the new "incremental-recursion algorithm" is just what I need. But ran into a problem... When I start the rsync, either with the rsync protocol or rsh, i found that it'll start doing the rsync and just halt after a few hundred MBs or even up to a couple GBs. I was never able to finish an rsync. Anyone else had this
2008 Aug 18
8
DO NOT REPLY [Bug 5701] New: deadlock on local rsyncing, bisected to commit f303b749f2843433c9acd8218a4b9096d0d1bb8d
...$ gstack 22367 #0 0x0000000000a24ad3 in __select_nocancel () from /lib64/libc.so.6 #1 0x00007fa36509b660 in read_timeout () from /proc/22367/exe #2 0x00007fa36509a40a in readfd_unbuffered () from /proc/22367/exe #3 0x00007fa36509bd33 in readfd () from /proc/22367/exe #4 0x00007fa36509c0f6 in read_msg_fd () from /proc/22367/exe #5 0x00007fa3650834d5 in generate_files () from /proc/22367/exe #6 0x00007fa36508e29c in do_recv () from /proc/22367/exe #7 0x00007fa36508ed82 in start_server () from /proc/22367/exe #8 0x00007fa36508fc55 in child_main () from /proc/22367/exe #9 0x00007fa3650a943e in lo...
2008 Jun 04
0
3.0.3pre2 compile warnings under cygwin
...long unsigned int arg (arg 4) match.c:185: warning: unsigned int format, long unsigned int arg (arg 5) match.c:219: warning: unsigned int format, uint32_t arg (arg 5) syscall.c: In function `do_mkstemp': syscall.c:230: warning: implicit declaration of function `setmode' io.c: In function `read_msg_fd': io.c:413: warning: int format, long unsigned int arg (arg 4) token.c: In function `send_deflated_token': token.c:377: warning: int format, int32_t arg (arg 3) token.c:418: warning: int format, int32_t arg (arg 3) token.c: In function `recv_deflated_token': token.c:496: warning: int f...
2006 May 03
2
Rsync error on client end: unexpected tag 3 [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(843) [sender]
Hi guys: First post for me on this list. THE PROBLEM =========== I have several linux servers (ranging from Redhat 7.3 to FC3) that use Rsync (version 2.6.8 and 2.6.7, read on for reasons) to backup their data. A typical rsync backup script looks like this: ------------------------------------------------------------------------------------------ #!/bin/sh RSYNC_PASSWORD=<PASSWORD> rsync
2006 Sep 30
2
DO NOT REPLY [Bug 4139] New: Generator process (running as daemon) hangs after kill SIGINT.
...able "code" is not available. ) at io.c:1169 #15 0x0806937b in io_flush (flush_it_all=-4) at io.c:1191 #16 0x0806943b in read_timeout (fd=8, buf=0xbfeccd7c "", len=4) at io.c:481 #17 0x080699d6 in read_loop (fd=8, buf=0xbfeccd7c "", len=4) at io.c:735 #18 0x08069a22 in read_msg_fd () at io.c:246 #19 0x08069e4d in get_redo_num (itemizing=1, code=FLOG) at io.c:406 #20 0x0804f9eb in generate_files (f_out=0, flist=0x82d8730, local_name=0x0) at generator.c:1613 #21 0x08058bb1 in do_recv (f_in=0, f_out=0, flist=0x82d8730, local_name=0x0) at main.c:715 #22 0x0805902a in start_serve...
2011 May 15
0
rsync client and server processes, all hanging in read_timeout()
...imeout (fd=3, buf=0x100800000 "\004", len=8184) at io.c:654 #2 0x000000010002f891 in readfd_unbuffered (fd=3, buf=0x7fff5fbfdee0 "", len=4) at io.c:1012 #3 0x000000010002ffae in readfd (fd=3, buffer=0x7fff5fbfdee0 "", N=4) at io.c:1157 #4 0x000000010002da8c in read_msg_fd () at io.c:338 #5 0x000000010002e7b4 in wait_for_receiver () at io.c:540 #6 0x00000001000132f8 in generate_files (f_out=4, local_name=0x0) at generator.c:2290 #7 0x0000000100020f48 in do_recv (f_in=5, f_out=4, local_name=0x0) at main.c:833 #8 0x000000010002179f in client_run (f_in=5, f_out=...
2007 Dec 28
2
hang with rsync 3.0.0pre7 doing local copy
...out (fd=3, buf=0x670be0 "\004", len=8184) at io.c:653 #2 0x0000000000424794 in readfd_unbuffered (fd=4, buf=0x7fff1d3ad520 "??\001", len=4) at io.c:1008 #3 0x0000000000424a93 in readfd (fd=3, buffer=0x7fff1d3ad520 "??\001", N=4) at io.c:1144 #4 0x0000000000424dcf in read_msg_fd () at io.c:342 #5 0x000000000040fd1f in generate_files (f_out=1, local_name=<value optimized out>) at generator.c:2089 #6 0x00000000004190b4 in do_recv (f_in=0, f_out=1, local_name=0x0) at main.c:848 #7 0x00000000004198a3 in start_server (f_in=0, f_out=1, argc=1, argv=<value optimized o...
2016 Jun 29
0
Rsync hung when applying batch file
...meout (fd=5, buf=0xcbbbd0 "\004", len=8184) at io.c:662 #2 0x000000000042822e in readfd_unbuffered (fd=5, buf=0x7fffac015840 "\201i", len=4) at io.c:1020 #3 0x00000000004290c3 in readfd (fd=5, buffer=0x7fffac015840 "\201i", N=4) at io.c:1163 #4 0x00000000004294b7 in read_msg_fd () at io.c:346 #5 0x000000000041250f in generate_files (f_out=4, local_name=<value optimized out>) at generator.c:2366 #6 0x000000000041d24c in do_recv (f_in=<value optimized out>, f_out=4, local_name=0x0) at main.c:843 #7 0x000000000041d4a2 in client_run (f_in=0, f_out=4, pid=-1, ar...
2016 Jun 29
0
Rsync hung when applying batch file
...meout (fd=5, buf=0xcbbbd0 "\004", len=8184) at io.c:662 #2 0x000000000042822e in readfd_unbuffered (fd=5, buf=0x7fffac015840 "\201i", len=4) at io.c:1020 #3 0x00000000004290c3 in readfd (fd=5, buffer=0x7fffac015840 "\201i", N=4) at io.c:1163 #4 0x00000000004294b7 in read_msg_fd () at io.c:346 #5 0x000000000041250f in generate_files (f_out=4, local_name=<value optimized out>) at generator.c:2366 #6 0x000000000041d24c in do_recv (f_in=<value optimized out>, f_out=4, local_name=0x0) at main.c:843 #7 0x000000000041d4a2 in client_run (f_in=0, f_out=4, pid=-1, ar...
2004 Jan 17
1
--delete-sent-files (AKA --move-files)
...); - file->flags = flags; + file->flags = flags & LIVE_FLAGS; file->length = read_longint(f); if (!(flags & SAME_TIME)) modtime = (time_t)read_int(f); Index: io.c --- io.c 16 Jan 2004 16:31:47 -0000 1.119 +++ io.c 17 Jan 2004 05:04:54 -0000 @@ -222,6 +222,14 @@ static void read_msg_fd(void) read_loop(fd, buf, 4); redo_list_add(IVAL(buf,0)); break; + case MSG_SUCCESS: + if (len != 4) { + rprintf(FERROR, "invalid message %d:%d\n", tag, len); + exit_cleanup(RERR_STREAMIO); + } + read_loop(fd, buf, 4); + io_multiplex_write(MSG_SUCCESS, buf, 4); + break;...
2004 Jul 14
12
HP-UX 11i and largefiles on rsync 2.6.2
Hello, I'm running HP-UX 11i on an rp74xx. It's 64-bit. C compiler is as follows: B3901BA B.11.11.03 HP C/ANSI C Developer's Bundle for HP-UX 11.i (S800) B3913DB C.03.30.02 HP aC++ Compiler (S800) /usr/bin/cc: LINT B.11.11.02 CXREF B.11.11.02 HP92453-01 B.11.11.02 HP C Compiler $ Sep 8 2000 23:13:51 $ I have successfully compiled rsync 2.6.2 and it