From owner-freebsd-questions@FreeBSD.ORG Wed Mar 19 15:09:44 2014 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B1447F2A for ; Wed, 19 Mar 2014 15:09:44 +0000 (UTC) Received: from bewilderbeast.blackhelicopters.org (mwlucas-2-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:b9c::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6E2BD29B for ; Wed, 19 Mar 2014 15:09:44 +0000 (UTC) Received: from bewilderbeast.blackhelicopters.org (localhost [127.0.0.1]) by bewilderbeast.blackhelicopters.org (8.14.7/8.14.7) with ESMTP id s2JF9ggu065462; Wed, 19 Mar 2014 11:09:42 -0400 (EDT) (envelope-from mwlucas@bewilderbeast.blackhelicopters.org) Received: (from mwlucas@localhost) by bewilderbeast.blackhelicopters.org (8.14.7/8.14.7/Submit) id s2JF9gWs065461; Wed, 19 Mar 2014 11:09:42 -0400 (EDT) (envelope-from mwlucas) Date: Wed, 19 Mar 2014 11:09:41 -0400 From: "Michael W. Lucas" To: krad Subject: Re: rsync problems Message-ID: <20140319150941.GA65449@bewilderbeast.blackhelicopters.org> References: <20140317203733.GA57962@bewilderbeast.blackhelicopters.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.22 (2013-10-16) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (bewilderbeast.blackhelicopters.org [127.0.0.1]); Wed, 19 Mar 2014 11:09:42 -0400 (EDT) Cc: questions@freebsd.org, "Michael W. Lucas" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Mar 2014 15:09:44 -0000 Thanks. I wound up trying progressively older versions of rsync back to 2.8, and then jumped back to a very old binary, which worked. Ugly, not recommended, but it worked. On Wed, Mar 19, 2014 at 03:07:11PM +0000, krad wrote: > from what i remember of rsync before v3, is that it used to generate > the full file list before it did the sync. After v3 it did an > incremental list. This resulted in much lower memory utilization. > Therefore as you use the old version it may be worth checking any > limits set on the daemon. It also may be worth syncing smaller parts of > the tree if its large to reduce the memory consumption. > > On 17 March 2014 20:37, Michael W. Lucas <[1]mwlucas@michaelwlucas.com> > wrote: > > Hi, > I'm hoping someone can help me with an rsync issue. > I have an old rsync client (version 2.3.1) on an effectively > embedded > SunOS system. Changing the client is not an option, it's part of a > great big multimillion-dollar telephony system. > Until last Thursday, I was successfully rsyncing to a FreeBSD > machine > using rsyncd. Then I rebooted it. Now rsync requests fail with: > Mar 17 16:20:22 cdrbucket2 rsyncd[1003]: rsync error: error in rsync > protocol data stream (code 12) at io.c(226) [Receiver=3.1.0] > Mar 17 16:21:43 cdrbucket2 rsyncd[947]: rsync error: received > SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(632) > [Receiver=3.1.0] > This is not a helpful message. Rsync is not known for helpful error > messages, so I tried truss. Here's the notable section of the > output: > ... > 1003: open("/etc/group",O_CLOEXEC,0666) = 4 (0x4) > 1003: fstat(4,{ mode=-rw-r--r-- ,inode=4127,size=503,blksize=4096 > }) = 0 (0x0) > 1003: lseek(4,0x0,SEEK_CUR) = 0 (0x0) > 1003: lseek(4,0x0,SEEK_SET) = 0 (0x0) > 1003: read(4,"# $FreeBSD: release/10.0.0/etc/g"...,4096) = 503 > (0x1f7) > 1003: close(4) = 0 (0x0) > 1003: chroot("/cdr/telicavoip") = 0 (0x0) > 1003: chdir("/") = 0 (0x0) > 1003: process exit, rval = 12 > 947: select(6,{4 5},0x0,0x0,0x0) ERR#4 'Interrupted > system call' > 947: SIGNAL 20 (SIGCHLD) > 947: wait4(-1,0x0,WNOHANG,0x0) = 1003 (0x3eb) > 947: wait4(-1,0x0,WNOHANG,0x0) ERR#10 'No child > processes' > 947: > sigreturn(0x7fffffffae50,0x0,0xffffffffffffffff,0x0,0x0,0x8014001b0) > ERR#4 'Interrupted system call' > Any way to tell what child process it might be expecting, or where > it's hanging up here? > Thanks for any hints, > ==ml > -- > Michael W. Lucas - [2]mwlucas@michaelwlucas.com, Twitter > @mwlauthor > [3]http://www.MichaelWLucas.com/, > [4]http://blather.MichaelWLucas.com/ > Absolute OpenBSD 2/e - [5]http://www.nostarch.com/openbsd2e > coupon code "ILUVMICHAEL" gets you 30% off & helps me. > _______________________________________________ > [6]freebsd-questions@freebsd.org mailing list > [7]http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[8]freebsd-questions-unsubscribe@freebsd.org" > > References > > 1. mailto:mwlucas@michaelwlucas.com > 2. mailto:mwlucas@michaelwlucas.com > 3. http://www.MichaelWLucas.com/ > 4. http://blather.MichaelWLucas.com/ > 5. http://www.nostarch.com/openbsd2e > 6. mailto:freebsd-questions@freebsd.org > 7. http://lists.freebsd.org/mailman/listinfo/freebsd-questions > 8. mailto:freebsd-questions-unsubscribe@freebsd.org -- Michael W. Lucas - mwlucas@michaelwlucas.com, Twitter @mwlauthor http://www.MichaelWLucas.com/, http://blather.MichaelWLucas.com/ Absolute OpenBSD 2/e - http://www.nostarch.com/openbsd2e coupon code "ILUVMICHAEL" gets you 30% off & helps me.