Rsync Hang with multiple files

Jay Sargeant jsblahblah at hotmail.com
Thu Feb 7 22:38:38 GMT 2008


Sorry, I used the daemon version of the rsync-debug code to get the strace. My apologies
 
The local strace is now the following:
 
execve("/usr/bin/rsync", ["rsync"], [/* 33 vars */]) = 0uname({sys="Linux", node="Beast", ...}) = 0brk(0)                                  = 0x65b000mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a95556000access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)open("/etc/ld.so.cache", O_RDONLY)      = 3fstat(3, {st_mode=S_IFREG|0644, st_size=65103, ...}) = 0
.
.
.
mmap(0x3726400000, 1060120, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3726400000mprotect(0x3726403000, 1047832, PROT_NONE) = 0mmap(0x3726502000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x3726502000close(3)                                = 0mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a95568000mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a95569000mprotect(0x372492b000, 8192, PROT_READ) = 0arch_prctl(ARCH_SET_FS, 0x2a95568900)   = 0munmap(0x2a95557000, 65103)             = 0rt_sigaction(SIGUSR1, {0x419230, [], SA_RESTORER|SA_NOCLDSTOP, 0x372472e2b0}, NULL, 8) = 0rt_sigaction(SIGUSR2, {0x419250, [], SA_RESTORER|SA_NOCLDSTOP, 0x372472e2b0}, NULL, 8) = 0rt_sigaction(SIGCHLD, {0x419290, [], SA_RESTORER|SA_NOCLDSTOP, 0x372472e2b0}, NULL, 8) = 0time(NULL)                              = 1202422664geteuid()                               = 0brk(0)                                  = 0x65b000brk(0x67c000)                           = 0x67c000write(2, "rsync  version 3.0.0pre8  protoc"..., 50rsync  version 3.0.0pre8  protocol version 30.PR16) = 50write(2, "\n", 1
.
.
.
write(2, "See http://rsync.samba.org/ for "..., 65See http://rsync.samba.org/ for updates, bug reports, and answers) = 65write(2, "\n", 1)                       = 1rt_sigaction(SIGUSR1, {SIG_IGN}, NULL, 8) = 0rt_sigaction(SIGUSR2, {SIG_IGN}, NULL, 8) = 0write(2, "rsync error: syntax or usage err"..., 78rsync error: syntax or usage error (code 1) at main.c(1436) [client=3.0.0pre8]) = 78write(2, "\n", 1)                       = 1exit_group(1)                           = ?Process 32534 detached
 
> > On Tue 05 Feb 2008, Jay Sargeant wrote:> > > Using the following syntax:> > rsync -avc -e "ssh -i /home/userxxx/rsync-key/" user at remote-server:/path/Issue14/ /local-path/> > > > If I modify the remote path to be /0*.doc which is about 5 files, then it works fine, but not with the entire path (about 30 files = ~ 4.22MB)> > > > The local and remote straces are as follows:> > Here is the local strace:> > > > execve("/usr/bin/rsync", ["rsync", "--daemon", "--no-detach"], [/* 32 vars */]) = 0> > Where do these options (--daemon --no-detach) come from?> They can't be invoked by the above command line you show.> > 
_________________________________________________________________
It's simple! Sell your car for just $30 at CarPoint.com.au
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fsecure%2Dau%2Eimrworldwide%2Ecom%2Fcgi%2Dbin%2Fa%2Fci%5F450304%2Fet%5F2%2Fcg%5F801459%2Fpi%5F1004813%2Fai%5F859641&_t=762955845&_r=tig_OCT07&_m=EXT
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the rsync mailing list