From owner-freebsd-ports Mon Mar 26 2: 8:27 2001 Delivered-To: freebsd-ports@freebsd.org Received: from mail.tucheng.generalresources.com (a1.tucheng.generalresources.com [211.21.4.234]) by hub.freebsd.org (Postfix) with ESMTP id 352CE37B719 for ; Mon, 26 Mar 2001 02:08:23 -0800 (PST) (envelope-from hsw@acm.org) Received: from w40.tucheng.generalresources.com (w40.tucheng.generalresources.com [192.168.1.40]) by mail.tucheng.generalresources.com (8.11.2/8.11.2) with ESMTP id f2QA3Np63375 for ; Mon, 26 Mar 2001 18:03:23 +0800 (CST) (envelope-from hsw@acm.org) Received: from w40.tucheng.generalresources.co (localhost [127.0.0.1]) by w40.tucheng.generalresources.com (8.11.3/8.11.3) with ESMTP id f2QA8X474965 for ; Mon, 26 Mar 2001 18:08:34 +0800 (CST) (envelope-from hsw@acm.org) Message-Id: <200103261008.f2QA8X474965@w40.tucheng.generalresources.com> To: ports@FreeBSD.ORG From: Christopher Hall Reply-To: Christopher Hall Subject: Problem with rsync X-Operating-System: FreeBSD X-Mailer: Exmh Date: Mon, 26 Mar 2001 18:08:32 +0800 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I am trying to use rsync on the latest 4.3 RC, but it is locking up every few files. A. rsync local remote using ps -axlw on the source machine: 0 73722 73713 0 2 0 5768 5332 select S+ p1 0:09.04 rsync --recursive --links --hard-links --perms --owner --group - 0 73723 73722 0 2 0 2172 1344 sbwait I+ p1 0:01.08 ssh -l toor w41 rsync --server -vlHogDtprz . /home on the destination machine: 0 4018 4017 0 10 0 620 408 wait Is ?? 0:00.03 sh -c rsync --server -vlHogDtprz . /home 0 4019 4018 0 2 0 7788 7380 select I ?? 0:12.50 rsync --server -vlHogDtprz . /home 0 4020 4019 0 2 0 7880 7464 select S ?? 0:03.04 rsync --server -vlHogDtprz . /home Using truss, the last few lines before the lock up are: write(1,0x8074000,49) = 49 (0x31) break(0x8535000) = 0 (0x0) read(0x3,0x8517000,0x1d99e) = 121246 (0x1d99e) write(1,0x8074000,12) = 12 (0xc) write(1,0x8074000,12) = 12 (0xc) write(1,0x8074000,12) = 12 (0xc) select(0x5,0x0,0xbfbff0e4,0x0,0xbfbff05c) = 1 (0x1) write(4,0x8502000,16381) = 8176 (0x1ff0) select(0x5,0x0,0xbfbff0e4,0x0,0xbfbff05c) = 0 (0x0) select(0x5,0x0,0xbfbff0e4,0x0,0xbfbff05c) = 0 (0x0) The last select line is repeated after a time delay, and it looks to me like the write above it did not output enough bytes. I tried again using rsh as the transport, there is no lock up, just a message: unexpected tag -7 The --blocking-io switch did not make any difference. B. rsync local local For a comparison I tried a local copy, the lock up occurred after the last file was transferred. Both machines were the same. The last file was transferred, since a second rsync run did not transfer any more files. C. rsync remote local Transferred 40,000 approx 400M successfully D. Has anyone else seen this kind of problem or can suggest how I might narrow down where the faults lie. --- Christopher Hall To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message