Rsync hang on HP-UX 10.20

jw schultz jw at pegasys.ws
Wed Aug 20 12:04:33 EST 2003


Please invest in an enter key.

On Tue, Aug 19, 2003 at 07:38:51PM -0600, xiaoqin_qiu at agilent.com wrote:
[reformatted due to insanely long lines]
> Hi,
> 
> We downloaded the latest rsync 2.5.6 source code and
> compiled it on HP-UX for both 10.20 and 11.x. Rsync runs
> fine if we run it from the command line on both platforms.
> But after we put rsync command into a HP Software
> Distributor package configure script (just a shell script
> with rsync command in it) and run swinstall, which will
> get installation bits including the configure script, put
> the installation bits into place and fork process to run
> the configure script, rsync hang on HP-UX 10.20 boxes.
> From the log, we can see rsync actually already finished
> all the work, however, both rsync processes were still
> running. As the result, swinstall won't finish either.
> Swinstall uses tcp 2121 and udp 2121 ports.
> 
> I ran trace on the hang rsync processes. The parent rsync
> process seemed waiting for the child rsync process which
> is reasonable. The child rsync process seemed traped in a
> loop of msleep calls.

The child is waiting for the parent to kill it with SIGUSR2.
Evidently the signal wasn't delivered.

> Here are some trace outputs:
> 
> 11982: gettimeofday(0x7b03ac00, 0) = 0
> 11982: gettimeofday(0x7b03ac10, 0) = 0
> 11982: select(0, 0, 0, 0, 0x7b03abf0) = 0
> 11982: gettimeofday(0x7b03ac10, 0) = 0
> 11982: select(0, 0, 0, 0, 0x7b03abf0) = 0
> 11982: gettimeofday(0x7b03ac10, 0) = 0
> 11982: gettimeofday(0x7b03ac00, 0) = 0
> 11982: gettimeofday(0x7b03ac10, 0) = 0
> 11982: select(0, 0, 0, 0, 0x7b03abf0) = 0
> 11982: gettimeofday(0x7b03ac10, 0) = 0
> 11982: select(0, 0, 0, 0, 0x7b03abf0) = 0
> 11982: gettimeofday(0x7b03ac10, 0) = 0
> 11982: gettimeofday(0x7b03ac00, 0) = 0
> 11982: gettimeofday(0x7b03ac10, 0) = 0
> 11982: select(0, 0, 0, 0, 0x7b03abf0) = 0
> 11982: gettimeofday(0x7b03ac10, 0) = 0
> 11982: select(0, 0, 0, 0, 0x7b03abf0) = 0
> 11982: gettimeofday(0x7b03ac10, 0) = 0
> 11982: gettimeofday(0x7b03ac00, 0) = 0
> 11982: gettimeofday(0x7b03ac10, 0) = 0
> 11982: select(0, 0, 0, 0, 0x7b03abf0) = 0
> 11982: gettimeofday(0x7b03ac10, 0) = 0
> 11982: gettimeofday(0x7b03ac00, 0) = 0
> 11982: gettimeofday(0x7b03ac10, 0) = 0
> 11982: select(0, 0, 0, 0, 0x7b03abf0) = 0
> 11982: gettimeofday(0x7b03ac10, 0) = 0
> 11982: select(0, 0, 0, 0, 0x7b03abf0) = 0
> 11982: gettimeofday(0x7b03ac10, 0) = 0
> 11982: gettimeofday(0x7b03ac00, 0) = 0
> 11982: gettimeofday(0x7b03ac10, 0) = 0
> 11982: select(0, 0, 0, 0, 0x7b03abf0) = 0
> 11982: gettimeofday(0x7b03ac10, 0) = 0
> 
> Has anyone experienced similar hangs and know the possible reasons?
> 
> Thank you very much for your help!
> 
> Xiaoqin Qiu
> Technical Computing Group
> IT Infrastructure Services Organization
> Agilent Technologies, Inc.
> (818)879-6220
> xiaoqin_qiu at agilent.com
>  
> --
> To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
> Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
> 

-- 
________________________________________________________________
	J.W. Schultz            Pegasystems Technologies
	email address:		jw at pegasys.ws

		Remember Cernan and Schmitt



More information about the rsync mailing list