Date: Wed, 19 Jan 2005 15:52:22 +0900 From: Rob <spamrefuse@yahoo.com> Cc: freebsd-stable@freebsd.org Subject: Re: User's cron job creates zombie process on 5.3 Message-ID: <41EE03A6.7080404@yahoo.com> In-Reply-To: <20050119064822.GA65506@cirb503493.alcatel.com.au> References: <41EDA6FB.6000706@snu.ac.kr> <20050119064822.GA65506@cirb503493.alcatel.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
Peter Jeremy wrote: > On Wed, 2005-Jan-19 09:16:59 +0900, Rob Lahaye wrote: > >> tunnel="-L 55110:localhost:110 pop3.univ.net" >> tunnel_up=`pgrep -f -- "${tunnel}"` >> [ "${tunnel_up}" = "" ] && /usr/bin/ssh -N -f ${tunnel} > > >>It works beautifully, but why does this also generate one zombie process: >>USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND >>rob 655 0.0 0.0 0 0 ?? Z Sat02PM 0:00.01 <defunct> > > You get a zombie when a process has exited and the parent hasn't issued > a wait(2) (or SIG_IGN'd SIGCHLD). Have a look at what the parent process > is and that might give you an idea as to what is going wrong. Sorry, can you tell me how to do this? How can I find out what's the parent process of a Zombie process? I have a user crontab, which calls a sh-shell script; so I have no clue where to start investigating.... Thanks, Rob.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41EE03A6.7080404>