[ILUG] i killed the head but the body keeps moving

Hunt, Bryan B.Hunt at emuse-tech.com
Wed May 22 11:08:08 IST 2002


Quick question .....

A script calls a java program (a web server) ie 
./build.sh jetty-smart &
processnum=$! 

Then i sleep ...
sleep 60 

Then I run another task ....
./build.sh unittests

Then I want to kill the web server ...
kill ${processnum} 

The problem is that this kills the head but the webserver and all its
processes 
continue on in zombie mode .... 

Is there a specific signal that I should be using here or is it going to be
a problem 
regardless cause of dodgy pthread related problems ?

Ta 
--B






More information about the ILUG mailing list