User's cron job creates zombie process on 5.3
    spam maps 
    spamrefuse at yahoo.com
       
    Thu Jan 20 22:24:27 PST 2005
    
    
  
--- Don Lewis <truckman at 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 
    
    
More information about the freebsd-stable
mailing list