Free Downloads, Community Forum,
FAQs and Developer Resources


Make /Tools Your Home | Link to us

Today's posts | Posts since last visit | Most Active Topics

All Forums Register Login Search Subscriptions My Profile Inbox
Tool Warehouse FAQs Resources Help Member List Address Book Logout

rsync hanging

 
Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [SFU / Interix / SUA Technology] >> Tools Discussion Forum >> rsync hanging Page: [1]
Login
Message << Older Topic   Newer Topic >>
rsync hanging - Aug. 6, '06, 7:01:51 AM   
DrPizza

 

Posts: 40
Joined: Mar. 27, '03,
Status: offline
I'm trying to rsync about 4.5 GiB (in 22150 mostly small files, nothing that breaks the 2 GiB limitation). The rsync gets about half way and then seems to break. The local rsync processes continue to consume processor time, but no data travels over the network and no progress is made.

The command I'm using is
rsync --delete -avz --progress -e 'ssh -l username' hostname:~ ./

The remote server is linux running rsync 2.6.8 (albeit with different options, as it can deal with 64-bit file sizes).

What can I do to diagnose the fault?
Post #: 1
RE: rsync hanging - Aug. 6, '06, 2:57:18 PM   
Rodney

 

Posts: 3728
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
Use pstat to see if it's stuck in a system call.

Also what's your o/p from "fileinfo" and "uname -a" currently?

(in reply to DrPizza)
Post #: 2
RE: rsync hanging - Aug. 6, '06, 6:22:01 PM   
DrPizza

 

Posts: 40
Joined: Mar. 27, '03,
Status: offline
quote:

Use pstat to see if it's stuck in a system call.

bash-3.00$ ps -efww | grep rsync
       Administrator    495    895 23:16:14 n00  0:02.85 rsync --delete -avz --progress -e ssh -l username hostname:~ ./
       Administrator    647   1467 23:17:23 n00  0:00.00 grep rsync
       Administrator    895   1467 23:16:06 n00  0:07.54 rsync --delete -avz --progress -e ssh -l username hostname:~ ./
       Administrator   1865    895 23:16:06 n00  0:01.07 ssh -l username hostname rsync --server --sender -vlogDtprz . ~
bash-3.00$ pstat 495
pid=495 ppid=895 pgid=895 sid=1639 state=3 Active
flags=600000 32-bit
signal trampoline = 0x49A83030,0x49A8306F  nullapi = 0x49A83070,0x49A8316B

Thread Specific Data [TID=1]
EIP=7c82ed54  UESP=0086f2b8  EBP=0086f2d0  EFL=00000203
EAX=77dc46de  EBX=00000000  ECX=77dc46de  EDX=00000038  EDI=0000009d  ESI=0086f2e8
CS=0000001b  DS=00000023  ES=00000023  FS=0000003b  GS=00000000  SS=00000023
bash-3.00$ pstat 895
pid=895 ppid=1467 pgid=895 sid=1639 state=3 Active
flags=40600032 execed waited pgrp 32-bit asleep
signal trampoline = 0x49A83030,0x49A8306F  nullapi = 0x49A83070,0x49A8316B

Thread Specific Data [TID=1]
current syscall=select()
EIP=7c82ed54  UESP=0086edc0  EBP=0086edd8  EFL=00000203
EAX=0086f37c  EBX=00000000  ECX=0086fb00  EDX=0086f3a4  EDI=00000000  ESI=0086edf0
CS=0000001b  DS=00000023  ES=00000023  FS=0000003b  GS=00000000  SS=00000023
bash-3.00$


quote:

Also what's your o/p from "fileinfo"

bash-3.00$ fileinfo
/dev/fs/C/WINDOWS/system32/PSXSS.EXE    9.0.3790.2075 (dnsrv_r2.051122-2350)
/dev/fs/C/WINDOWS/system32/PSXDLL.DLL   9.0.3790.2075 (dnsrv_r2.051122-2350)
/dev/fs/C/WINDOWS/system32/PSXDLLSVR.DLL        9.0.3790.2075 (dnsrv_r2.051122-2350)
/dev/fs/C/WINDOWS/POSIX.EXE     9.0.3790.2075 (dnsrv_r2.051122-2350)
/dev/fs/C/WINDOWS/PSXRUN.EXE    9.0.3790.2075 (dnsrv_r2.051122-2350)
/dev/fs/C/WINDOWS/system32/drivers/PSXDRV.SYS   9.0.3790.2075 (dnsrv_r2.051122-2350)


quote:

and "uname -a" currently?

bash-3.00$ uname -a
Interix quiscalus 5.2 SP-9.0.3790.2075 x86 Intel_x86_Family15_Model2_Stepping9

(in reply to Rodney)
Post #: 3
RE: rsync hanging - Aug. 7, '06, 4:16:51 AM   
Rodney

 

Posts: 3728
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
(I'm assuming rsync 2.6.8 on Interix is being used.)
Thanks for the info. I'm realizing now that you wrote before that
rsync continued to use CPU in it's stuck state. So it can't
be stuck in a system call if it keeps using CPU. It might be
stuck in a loop.

Just reading through the "NEWS" of rsync and I read about
a new (undocumented, beta version) option that might be useful.
"--log-file=FILE" allow rsync to log it's actions to a file.
You could give this a try to see what shows up at the end of this log
when rsync is in it's stuck state.

(in reply to DrPizza)
Post #: 4
Page:   [1]
All Forums >> [SFU / Interix / SUA Technology] >> Tools Discussion Forum >> rsync hanging Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Search All Forums -

Advanced search


SPONSORS



Forum Software © ASPPlayground.NET Advanced Edition 2.5 ANSI

0.359