Message10976

Author andrewparks
Recipients andrewparks, zyasoft
Date 2016-10-27.13:25:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1477574720.09.0.5337344921.issue2530@psf.upfronthosting.co.za>
In-reply-to
Content
Hi Jim, I didn't mean to imply that 'kill -9' was the only way to terminate the Java process from the command line. I'm sure I could have used SIGTERM instead of SIGKILL.

The issue is that where there is a PythonInterpreter.exec() in progress in a Java thread, there is no way for any other Java thread to halt execution in that thread.

Therefore, as it currently stands, the only way to stop a PythonInterpreter.exec() call which refuses to return is to kill the entire Java process on the command line, killing not only the long running PythonInterpreter.exec() but all other Java threads too.
History
Date User Action Args
2016-10-27 13:25:20andrewparkssetmessageid: <1477574720.09.0.5337344921.issue2530@psf.upfronthosting.co.za>
2016-10-27 13:25:20andrewparkssetrecipients: + andrewparks, zyasoft
2016-10-27 13:25:20andrewparkslinkissue2530 messages
2016-10-27 13:25:19andrewparkscreate