search for: do_recv

Displaying 20 results from an estimated 53 matches for "do_recv".

2008 Jan 14
1
"fork failed in do_recv: Not enough space"
I'm using rsync 2.6.9 under Solaris 10. The file system I'm trying to sync has ~7.6 million files. Here's what happens: # rsync -avS . /newfiles1 building file list ... done rsync: fork failed in do_recv: Not enough space (12) rsync error: error in IPC code (code 14) at main.c(709) [receiver=2.6.9] rsync: connection unexpectedly closed (8 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(453) [sender=2.6.9] # Anyone know what's going on? -Dave
2004 Nov 13
1
[Bug 2033] no error check for do_fork in do_recv
https://bugzilla.samba.org/show_bug.cgi?id=2033 ------- Additional Comments From samba@arbruijn.dds.nl 2004-11-13 14:02 ------- Created an attachment (id=771) --> (https://bugzilla.samba.org/attachment.cgi?id=771&action=view) proposed patch -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA
2007 Sep 11
2
error in IPC Code (code 14) at main.c(669) [receiver=2.6.9cvs]
...details. But I couldn't do that even after hours. The rsync log says opening tcp connection to 172.21.3.148 port 874 opening connection using --server --sender -vvulgtprxz --timeout=38400 --safe-links . job_27825 receiving file list ... 23 files to consider rsync: pipe failed in do_recv: Too many open files (24) rsync error: error in IPC code (code 14) at main.c(669) [receiver=2.6.9cvs] If anybody has already faced similar kind error let me know what was the issue and how this has been suppressed. Regards, Suresh -------------- next part -------------- HTML attachm...
2003 Jun 27
5
PATCH/RFC: Another stab at the Cygwin hang problem
...ror_pipe[2]; + int cleanup_pipe[2]; extern int preserve_hard_links; extern int delete_after; extern int recurse; *************** *** 416,426 **** --- 417,435 ---- exit_cleanup(RERR_SOCKETIO); } + if (pipe(cleanup_pipe) < 0) { + rprintf(FERROR,"cleanup pipe failed in do_recv\n"); + exit_cleanup(RERR_SOCKETIO); + } + io_flush(); if ((pid=do_fork()) == 0) { + char tmp; + close(recv_pipe[0]); close(error_pipe[0]); + close(cleanup_pipe[1]); if (f_in != f_out) close(f_out); /* we can't let two processes write to the socket at...
2005 Dec 05
2
rsync crash
Dear All, I've been using rsync since almost 1 year to synchronise 2 RHEL 3 servers. Everything has been running fine until a few weeks ago. I'm getting the following error message via crond: rsync: fork failed in do_recv: Cannot allocate memory (12) rsync error: error in IPC code (code 14) at main.c(552) Here is part of the log: 2005/12/04 03:35:54 [4345] rsync on Prod/ from mirror.company.com (10.0.0.16) 2005/12/04 03:56:52 [4337] sent 17599277 bytes received 467 bytes total size 144263481292 200...
2004 Feb 10
3
rsync 2.6.1cvs dumps core when preserve_hard_links and backup
...amp;& file->link_u.links (gdb) where #0 0x80536c0 in keep_backup (fname=0x808f060 "rsync.core") at backup.c:266 #1 0x80537c9 in make_backup (fname=0x808f060 "rsync.core") at backup.c:297 #2 0x804c003 in delete_files (flist=0x8096100) at receiver.c:112 #3 0x805028c in do_recv (f_in=3, f_out=3, flist=0x8096100, local_name=0x0) at main.c:434 #4 0x805093c in client_run (f_in=3, f_out=3, pid=-1, argc=1, argv=0x8095004) at main.c:666 (gdb) p *file $1 = {modtime = 1076386251, length = 577536, mode = 33152, u = {rdev = 0, sum = 0x0, link = 0x0}, link_u = {idev =...
2002 May 22
2
rsync: race condition can cause loss of diagnostic output
[This is a copy of the contents of Debian bug report #147842.] Package: rsync Version: 2.5.5-0.2 Severity: normal Cause ----- - rsync forks a child which in turn forks a grandchild in main.c:do_recv(). - Diagnostics written by the grandchild need to be read by the child using read_error_fd() to be handled properly (with the end result being that they are seen by the user running rsync). - select() is used to call read_error_fd() only if there is stuff waiting to be read by it. - The sele...
2001 Sep 12
0
Using RSync with NT/98
...g to get RSync to work between an NT workstation and a Win98 workstation. Has anybody gotten this to work? I know my NT workstation is set up correctly because I am able to RSync between two NT workstations. But when I try to RSync between an NT and Win98 workstation I get a "pipe failed on do_recv" with an RSync exit status of 10. My NT workstation is set up to run RSync in daemon mode and it's rsyncd.conf file looks like this: use chroot = false strict modes = false hosts allow = * [Test] comment = My Temp directory path = /cygdrive/c/Temp read only = yes list = yes I...
2003 Jul 24
1
patch to use pipe if socketpair fails
Hi, if socketpair support has been compiled in but the host where rsync is run doesn't support it, you get error pipe failed in do_recv This patch makes rsync use pipe if socketpair fails. Yours, Harri J?rvi CC me if you reply to this thread since I'm not on the mailing list -------------- next part -------------- --- rsync-2.5.5/util.c Wed Mar 20 03:09:49 2002 +++ util.c Thu Jul 24 13:11:45 2003 @@ -71,6 +71,10 @@ #if HA...
2006 Mar 24
1
Rsync / Cygwin : Cannot Allocate Memory
Hi, I'm running the latest cygwin, with rsync 2.6.6 protocol 26. My command is: c:\cygwin\bin\rsync -vrtz --delete /cygdrive/e phoenix@172.16.1.10 etc I get the following error when trying to rsync 500,000 files: rsync: fork failed in do_recv: Cannot allocate memory (12) rsync error: error in IPC code (code 14) at main.c(550) rsync: connection unexpectedly closed (4 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at /home/lapo/packaging/tmp/rsync-2.6.6/io.c(434) Of course, this doesn't hap...
2008 Aug 18
8
DO NOT REPLY [Bug 5701] New: deadlock on local rsyncing, bisected to commit f303b749f2843433c9acd8218a4b9096d0d1bb8d
...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 local_child () from /proc/22367/exe #10 0x00007fa36508cb45 in do_cmd () from /proc/22367/exe #11 0x00007fa36508f53f in main (...
2008 Dec 15
1
rsync architecture
...c 2. Server if(sender) { call recv_filter_list : exclude.c call send_file_list : flist.c call send_files : sender.c } else { call recv_filter_list : exlude.c call recv_file_list : flist.c call do_recv : main.c call recv_files : receiver.c call generate files : generator.c } 3. Client call do_cmd : main.c call client_run : main.c if(sender) { call send_filter_list : exclude.c call send_file_list : flist.c...
2001 Dec 18
3
rsync hang, more details [LONG]
...uf=0xeffff348 "????", len=4) at io.c:263 #4 0x24950 in readfd (fd=6, buffer=0xeffff348 "????", N=4) at io.c:316 #5 0x24998 in read_int (f=6) at io.c:329 #6 0x184e8 in generate_files (f=5, flist=0x57520, local_name=0x0, f_recv=6) at generator.c:471 #7 0x1d3fc in do_recv (f_in=4, f_out=5, flist=0x57520, local_name=0x0) at main.c:379 #8 0x1d958 in client_run (f_in=4, f_out=5, pid=22226, argc=1, argv=0x56f74) at main.c:558 #9 0x1ddc0 in start_client (argc=1, argv=0x56f74) at main.c:731 #10 0x1e098 in main (argc=2, argv=0x56f70) at main.c:841 Back...
2002 Sep 24
3
2.5.5-1 rsync hangs
...to reach the select() in time to start waiting, I didn't observer any hangs. But consistently if the kill was received before that point, the child process simply locks up. This suggests that hack workaround of adding a call to say msleep(30) just before the line kill(pid, SIGUSR2) in main.c:do_recv(). With that kludge in, I haven't seen any hangs in a few hundred trials. YMMV, but it might be a helpful bandaid until some cygwin expert has the chance fix things properly. Rgds Anthony This communication is for informational purposes only. It is not intended as an offer or...
2004 Dec 07
1
rsync hangs when tunneling... help!
.../usr/lib/libc.so.1 #1 0xff15236c in _select () from /usr/lib/libc.so.1 #2 0x00025ee8 in writefd_unbuffered () #3 0x00026f4c in io_multiplex_write () #4 0x0001ce6c in rwrite () #5 0x0001cfcc in rprintf () #6 0x00012ae0 in recv_generator () #7 0x000139fc in generate_files () #8 0x00019528 in do_recv () #9 0x000197f4 in start_server () #10 0x0002fec4 in start_daemon () #11 0x00030088 in daemon_main () #12 0x0001a52c in main () server child process: #0 0xff19db44 in _poll () from /usr/lib/libc.so.1 #1 0xff15236c in _select () from /usr/lib/libc.so.1 #2 0x000251e0 in read_timeout () #3 0x...
2001 Nov 29
2
Rsync: Re: patch to enable faster mirroring of large filesystems
...o do the same thing. Indeed, it definitely should be doing buffering! It looks like there's a function io_start_buffering() that should be called. I don't know why it isn't called until later, though, and there may be a good reason. It's getting called in send_file_list() and in do_recv(), both of which are called from client_run() in main.c after send_exclude_list(). Could you play with calling it before send_exclude_list()? You're sending the list from the receiver to the sender so you're in the second half client_run(), the do_recv() part. You may possibly need to ca...
2011 May 15
0
rsync client and server processes, all hanging in read_timeout()
...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=4, pid=64758, argc=1, argv=0x100100398) at main.c:1070 #9 0x00000001000220ff in start_client (argc=1, argv=0x100100398) at main.c:1277 #10 0x00000001000227ea in main (argc=2, argv=0x100100390)...
2007 Dec 28
2
hang with rsync 3.0.0pre7 doing local copy
...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 out>) at main.c:958 #8 0x000000000041af15 in child_main (argc=490388736, argv=0xffffffffffffffff) at main.c:965 #9 0x0000000000430b2e in local_child (argc=2...
2002 Sep 25
0
Rsync Hangs 100% of the time when copying files from win2k machin es to linux
...x8057256 in io_flush () at io.c:538 #2 0x8056d35 in readfd (fd=6, buffer=0xbffff824 "????X???\034?\004\b\006", N=4) at io.c:327 #3 0x8056d7f in read_int (f=6) at io.c:342 #4 0x804b71c in generate_files (f=4, flist=0x807fba8, local_name=0x0, f_recv=6) at generator.c:524 #5 0x805022f in do_recv (f_in=5, f_out=4, flist=0x807fba8, local_name=0x0) at main.c:420 #6 0x80506e4 in client_run (f_in=5, f_out=4, pid=7277, argc=1, argv=0x807f96c) at main.c:599 #7 0x8050ad3 in start_client (argc=2, argv=0x807f968) at main.c:774 #8 0x8050d44 in main (argc=2, argv=0x807f968) at main.c:921 #9 0x4004...
2016 Jun 29
0
Rsync hung when applying batch file
...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, argc=<value optimized out>, argv=0xcba240) at main.c:1080 #8 0x000000000041e2fd in start_client (argc=1, argv=0xcba240) at main.c:1287 #9 main (argc=1, ar...