[ILUG] i killed the head but the body keeps moving
Anders Holm
anders.holm at elivefree.net
Wed May 22 11:13:53 IST 2002
Why not use the rc scripts to stop the web server graciously instead??
Best Regards
Anders Holm
-----Original Message-----
From: ilug-admin at linux.ie [mailto:ilug-admin at linux.ie]On Behalf Of Hunt,
Bryan
Sent: 22 May 2002 11:09
To: Ilug (E-mail)
Subject: [ILUG] i killed the head but the body keeps moving
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
--
Irish Linux Users' Group: ilug at linux.ie
http://www.linux.ie/mailman/listinfo/ilug for (un)subscription information.
List maintainer: listmaster at linux.ie
More information about the ILUG
mailing list