rsync hangs sometimes on Ubuntu LTS 12.04
Georg Koppen
gk at torproject.org
Mon Apr 7 07:55:09 MDT 2014
Hi,
we are seeing sometimes hangs using rsync 3.0.9 on Ubuntu 12.04
machines. The commands that cause these hangs are
rsync -aL firefox ../../dist/TorBrowser.app/Contents/MacOS
or
rsync -a --exclude "*.in"
/home/ubuntu/build/tor-browser/browser/app/macbuild/Contents/Resources/English.lproj/
../../dist/TorBrowser.app/Contents/Resources/en.lproj
lsof output is:
---------------
rsync 12934 ubuntu cwd DIR 8,1 4096
1046934 /home/ubuntu/build/tor-browser/obj-macos/browser/app
rsync 12934 ubuntu rtd DIR 8,1 4096 2 /
rsync 12934 ubuntu txt REG 8,1 409416
1439350 /usr/bin/rsync
rsync 12934 ubuntu mem REG 8,1 149280
392739 /lib/x86_64-linux-gnu/ld-2.15.so
rsync 12934 ubuntu mem REG 8,1 14384
1446549 /usr/lib/faketime/libfaketime.so.1
rsync 12934 ubuntu mem REG 8,1 31096
392742 /lib/x86_64-linux-gnu/libacl.so.1.1.0
rsync 12934 ubuntu mem REG 8,1 48072
392785 /lib/x86_64-linux-gnu/libpopt.so.0.0.0
rsync 12934 ubuntu mem REG 8,1 1815224
392748 /lib/x86_64-linux-gnu/libc-2.15.so
rsync 12934 ubuntu mem REG 8,1 14768
392754 /lib/x86_64-linux-gnu/libdl-2.15.so
rsync 12934 ubuntu mem REG 8,1 135366
392786 /lib/x86_64-linux-gnu/libpthread-2.15.so
rsync 12934 ubuntu mem REG 8,1 18552
392744 /lib/x86_64-linux-gnu/libattr.so.1.1.0
rsync 12934 ubuntu mem REG 8,1 26258
1444375 /usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache
rsync 12934 ubuntu mem REG 8,1 35680
392772 /lib/x86_64-linux-gnu/libnss_compat-2.15.so
rsync 12934 ubuntu mem REG 8,1 97248
392771 /lib/x86_64-linux-gnu/libnsl-2.15.so
rsync 12934 ubuntu mem REG 8,1 47680
392776 /lib/x86_64-linux-gnu/libnss_nis-2.15.so
rsync 12934 ubuntu mem REG 8,1 52120
392774 /lib/x86_64-linux-gnu/libnss_files-2.15.so
rsync 12934 ubuntu 0r FIFO 0,8 0t0
9364 pipe
rsync 12934 ubuntu 1w FIFO 0,8 0t0
9365 pipe
rsync 12934 ubuntu 2w FIFO 0,8 0t0
9366 pipe
rsync 12934 ubuntu 4u unix 0x0000000000000000 0t0
38226 socket
rsync 12934 ubuntu 5u unix 0x0000000000000000 0t0
38227 socket
and
rsync 12935 ubuntu cwd DIR 8,1 4096
991
/home/ubuntu/build/tor-browser/obj-macos/dist/TorBrowser.app/Contents/MacOS
rsync 12935 ubuntu rtd DIR 8,1 4096 2 /
rsync 12935 ubuntu txt REG 8,1 409416
1439350 /usr/bin/rsync
rsync 12935 ubuntu mem REG 8,1 149280
392739 /lib/x86_64-linux-gnu/ld-2.15.so
rsync 12935 ubuntu mem REG 8,1 14384
1446549 /usr/lib/faketime/libfaketime.so.1
rsync 12935 ubuntu mem REG 8,1 31096
392742 /lib/x86_64-linux-gnu/libacl.so.1.1.0
rsync 12935 ubuntu mem REG 8,1 48072
392785 /lib/x86_64-linux-gnu/libpopt.so.0.0.0
rsync 12935 ubuntu mem REG 8,1 1815224
392748 /lib/x86_64-linux-gnu/libc-2.15.so
rsync 12935 ubuntu mem REG 8,1 14768
392754 /lib/x86_64-linux-gnu/libdl-2.15.so
rsync 12935 ubuntu mem REG 8,1 135366
392786 /lib/x86_64-linux-gnu/libpthread-2.15.so
rsync 12935 ubuntu mem REG 8,1 18552
392744 /lib/x86_64-linux-gnu/libattr.so.1.1.0
rsync 12935 ubuntu mem REG 8,1 35680
392772 /lib/x86_64-linux-gnu/libnss_compat-2.15.so
rsync 12935 ubuntu mem REG 8,1 97248
392771 /lib/x86_64-linux-gnu/libnsl-2.15.so
rsync 12935 ubuntu mem REG 8,1 47680
392776 /lib/x86_64-linux-gnu/libnss_nis-2.15.so
rsync 12935 ubuntu mem REG 8,1 52120
392774 /lib/x86_64-linux-gnu/libnss_files-2.15.so
rsync 12935 ubuntu 1u unix 0x0000000000000000 0t0
38228 socket
rsync 12935 ubuntu 2w FIFO 0,8 0t0
9366 pipe
rsync 12935 ubuntu 3u unix 0x0000000000000000 0t0
39950 socket
netstat output is:
------------------
unix 2 [ ] STREAM CONNECTED 39950 12935/rsync
unix 3 [ ] STREAM CONNECTED 38228 12935/rsync
unix 3 [ ] STREAM CONNECTED 38227 12934/rsync
unix 2 [ ] STREAM CONNECTED 38226 12934/rsync
strace output is:
-----------------
select(0, NULL, NULL, NULL, {0, 921741}) = 0 (Timeout)
gettimeofday({1384369807, 20220}, NULL) = 0
select(0, NULL, NULL, NULL, {0, 998000}) = 0 (Timeout)
gettimeofday({1384369808, 20456}, NULL) = 0
select(0, NULL, NULL, NULL, {0, 998000}) = 0 (Timeout)
gettimeofday({1384369809, 20723}, NULL) = 0
select(0, NULL, NULL, NULL, {0, 997000}) = 0 (Timeout)
gettimeofday({1384369810, 19895}, NULL) = 0
select(0, NULL, NULL, NULL, {0, 998000}) = 0 (Timeout)
gettimeofday({1384369811, 20163}, NULL) = 0
select(0, NULL, NULL, NULL, {0, 998000}) = 0 (Timeout)
gettimeofday({1384369812, 20336}, NULL) = 0
select(0, NULL, NULL, NULL, {0, 998000} <unfinished ...>
and
select(0, NULL, NULL, NULL, {0, 757974}) = 0 (Timeout)
gettimeofday({1384369818, 19391}, NULL) = 0
select(0, NULL, NULL, NULL, {0, 999000}) = 0 (Timeout)
gettimeofday({1384369819, 20647}, NULL) = 0
select(0, NULL, NULL, NULL, {0, 997000}) = 0 (Timeout)
gettimeofday({1384369820, 19643}, NULL) = 0
select(0, NULL, NULL, NULL, {0, 998000}) = 0 (Timeout)
gettimeofday({1384369821, 19808}, NULL) = 0
select(0, NULL, NULL, NULL, {0, 998000}) = 0 (Timeout)
gettimeofday({1384369822, 20028}, NULL) = 0
select(0, NULL, NULL, NULL, {0, 998000}) = 0 (Timeout)
gettimeofday({1384369823, 20374}, NULL) = 0
select(0, NULL, NULL, NULL, {0, 998000}) = 0 (Timeout)
gettimeofday({1384369824, 20826}, NULL) = 0
select(0, NULL, NULL, NULL, {0, 997000} <unfinished ...>
The questions are: Is this a known issue (does this ring some bell)? If
not, how can I debug this further in case these hangs occur again?
Thanks for you help,
Georg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/rsync/attachments/20140407/1c7a71c2/attachment.pgp>
More information about the rsync
mailing list