Rsync hang on HP-UX 10.20

xiaoqin_qiu at agilent.com xiaoqin_qiu at agilent.com
Wed Aug 20 11:38:51 EST 2003


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.

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
 



More information about the rsync mailing list