From owner-freebsd-stable@FreeBSD.ORG Fri Jan 21 06:24:27 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 85E2416A4CE for ; Fri, 21 Jan 2005 06:24:27 +0000 (GMT) Received: from web54009.mail.yahoo.com (web54009.mail.yahoo.com [206.190.36.233]) by mx1.FreeBSD.org (Postfix) with SMTP id CA8A043D3F for ; Fri, 21 Jan 2005 06:24:26 +0000 (GMT) (envelope-from spamrefuse@yahoo.com) Received: (qmail 71555 invoked by uid 60001); 21 Jan 2005 06:24:26 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=lDxxDk0mXGkW4WmK9xosHV9ib6fRaZQlLefH+ciSRcSSuo0oc+6HPesOEDquMVBLg1MM6lIh+Zt//ytSgMcf04yF68YiPzJ4ixxC6aOnfeScQqGWlmYFeRGow61bmZOalQvQNytElOxnEqsbknekjn7thYo+zUcdlmGMHsY3wp0= ; Message-ID: <20050121062426.71553.qmail@web54009.mail.yahoo.com> Received: from [147.46.44.181] by web54009.mail.yahoo.com via HTTP; Thu, 20 Jan 2005 22:24:26 PST Date: Thu, 20 Jan 2005 22:24:26 -0800 (PST) From: spam maps To: freebsd-stable@FreeBSD.org In-Reply-To: <200501210230.j0L2TwpP050784@gw.catspoiler.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: User's cron job creates zombie process on 5.3 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Jan 2005 06:24:27 -0000 --- Don Lewis wrote: > On 20 Jan, spam maps wrote: > > Peter Jeremy wrote: > > >> My guess is that your ssh process is holding open > >> file descriptors and the cron child process is > >> waiting for these descriptors to close before > >> wait()ing for the child. If this is true, then > >> you > >> should avoid it with something like: > >> ( /usr/bin/ssh -n -f ${tunnel} >/dev/null 2>&1 & ) > >> > > I suspect that the & to put ssh in the background > isn't necessary. You're right indeed, it also works without the &. Thanks, Rob. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com