It's not. What I have is a script we can call myscript.sh. It pretty much calls swatch to monitor a file. I then have another script in /etc/init.d called mydaemonscript.sh that calls myscript.sh. The mydaemonscript should handle starting / stopping and killing any processes associated with myscript.sh. Right now it either creates several swatch processes, or the swatch process does not work. Killing the processes leaves me with zombies.
Does this clarify?
Main Topics
Browse All Topics





by: ravenplPosted on 2007-09-18 at 12:19:36ID: 19915786
I'm not sure if I undestand.
Why those zombies are created? You said You are restarting the script. Killing it should wipe any zombies(children) as well...