On Fri 15 Jul 2005, Robert Gasch wrote: > > > The output from strace and lsof would be helpful. > > However, my impression is that the CIFS filesystem is deadlocking > > somewhere... > > [EMAIL PROTECTED] root]# lsof -p 16327 > COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME > rsync 16327 root cwd DIR 0,14 0 64419 > /mnt/backup/backup_www > rsync 16327 root rtd DIR 3,1 4096 2 / > rsync 16327 root txt REG 3,8 558667 3482979 /usr/local/bin/rsync > rsync 16327 root mem REG 3,1 35648 44022 > /lib/libnss_files-2.3.3.so > rsync 16327 root mem REG 3,6 178476 411662 > /usr/share/locale/ISO-8859-1/LC_CTYPE > rsync 16327 root mem REG 3,1 1165108 44042 > /lib/tls/libc-2.3.3.so > rsync 16327 root mem REG 3,1 60804 44034 > /lib/libresolv-2.3.3.so > rsync 16327 root mem REG 3,1 529609 43989 /lib/ld-2.3.3.so > rsync 16327 root 0u unix 0xe16fb680 8778239 socket > rsync 16327 root 2u CHR 136,2 4 /dev/pts/2 > rsync 16327 root 4u unix 0xe16fb380 8778248 socket
OK, this rsync process doesn't have any files open... However, I expect that there should be a second rsync process as well? > [EMAIL PROTECTED] root]# strace -p 16327 > Process 16327 attached - interrupt to quit > select(1, [0], [], NULL, {27, 137000}) = 0 (Timeout) > select(1, [0], [], NULL, {60, 0}) = 0 (Timeout) > select(1, [0], [], NULL, {60, 0}) = 0 (Timeout) > select(1, [0], [], NULL, {60, 0}) = 0 (Timeout) > select(1, [0], [], NULL, {60, 0}) = 0 (Timeout) > select(1, [0], [], NULL, {60, 0}) = 0 (Timeout) > select(1, [0], [], NULL, {60, 0}) = 0 (Timeout) > select(1, [0], [], NULL, {60, 0} <unfinished ...> > Process 16327 detached This rsync process is waiting for data to come in on that socket, which most probably should be supplied by the other rsync process. Hence, could you repeat the exercise, but then for all rsync processes? Paul Slootman -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html