Rsync hang on HP-UX 10.20

xiaoqin_qiu at agilent.com xiaoqin_qiu at agilent.com
Tue Aug 26 09:31:03 EST 2003


Hi J.W.,

Thank you for your quick response. 

However I still couldn't see your email. Microsoft outlook couldn't open the email and gave me "follow-up flag must be 100 characters or less" error.

Could you please send it again and remove everything I wrote to keep it small OR remove your follow-up flag?

Sorry about this and thank you again,

Xiaoqin Qiu
Technical Computing Group
IT Infrastructure Services Organization
Agilent Technologies, Inc.
(818)879-6220
xiaoqin_qiu at agilent.com
 

-----Original Message-----
From: QIU,XIAOQIN (A-Sonoma,ex1) 
Sent: Monday, August 25, 2003 4:11 PM
To: rsync list
Subject: RE: Rsync hang on HP-UX 10.20


Hi J.W.,

I asked this question before, however I could not see your second reply to my question.

Could you please answer it again? Sorry about this.

Refreshing the question:

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.

Is this a bug or what?

Here are some trace outputs from child and parent processes:

Child:

4188: gettimeofday(0x7b03ac00, 0) = 0
4188: gettimeofday(0x7b03ac10, 0) = 0
4188: select(0, 0, 0, 0, 0x7b03abf0) = 0
4188: gettimeofday(0x7b03ac10, 0) = 0
4188: select(0, 0, 0, 0, 0x7b03abf0) = 0
4188: gettimeofday(0x7b03ac10, 0) = 0
4188: gettimeofday(0x7b03ac00, 0) = 0
4188: gettimeofday(0x7b03ac10, 0) = 0
4188: select(0, 0, 0, 0, 0x7b03abf0) = 0
4188: gettimeofday(0x7b03ac10, 0) = 0
4188: select(0, 0, 0, 0, 0x7b03abf0) = 0

Parent:

4187: waitpid(4188, 0x7b03ab50, 1) = 0
4187: gettimeofday(0x7b03ac40, 0) = 0
4187: gettimeofday(0x7b03ac50, 0) = 0
4187: select(0, 0, 0, 0, 0x7b03ac30) = 0
4187: gettimeofday(0x7b03ac50, 0) = 0
4187: waitpid(4188, 0x7b03ab50, 1) = 0
4187: gettimeofday(0x7b03ac40, 0) = 0
4187: gettimeofday(0x7b03ac50, 0) = 0
4187: select(0, 0, 0, 0, 0x7b03ac30) = 0
4187: gettimeofday(0x7b03ac50, 0) = 0
4187: select(0, 0, 0, 0, 0x7b03ac30) = 0
4187: gettimeofday(0x7b03ac50, 0) = 0
4187: waitpid(4188, 0x7b03ab50, 1) = 0
4187: gettimeofday(0x7b03ac40, 0) = 0
4187: gettimeofday(0x7b03ac50, 0) = 0

Thank you very much for your help!

Xiaoqin Qiu



More information about the rsync mailing list