Date: Thu, 20 Jan 2005 22:24:26 -0800 (PST) From: spam maps <spamrefuse@yahoo.com> To: freebsd-stable@FreeBSD.org Subject: Re: User's cron job creates zombie process on 5.3 Message-ID: <20050121062426.71553.qmail@web54009.mail.yahoo.com> In-Reply-To: <200501210230.j0L2TwpP050784@gw.catspoiler.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--- Don Lewis <truckman@FreeBSD.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050121062426.71553.qmail>
