Re: How to kill slave kernel securely?
- To: mathgroup at smc.vnet.net
- Subject: [mg117139] Re: How to kill slave kernel securely?
- From: "Alexey Popkov" <lehin.p at gmail.com>
- Date: Thu, 10 Mar 2011 06:12:58 -0500 (EST)
Very often when I Abort (by Alt+",") a program that heavily uses slave kernel I get an "emancipated" slave kernel that even can be used interactively. (sorry for typos and mistakes in the original response) ----- Original Message ----- From: "Alexey Popkov" <lehin.p at gmail.com> To: <jfultz at wolfram.com>; <mathgroup at smc.vnet.net> Sent: Thursday, March 10, 2011 1:12 AM Subject: [mg117139] Re: [mg117082] How to kill slave kernel securely? > Very often if I Abort (by Alt+",") a program heavily uses slave kernel I get > an "emancipated" slave kernel that even can be uses interactively. > > > ----- Original Message ----- > From: "John Fultz" <jfultz at wolfram.com> > To: <lehin.p at gmail.com>; <mathgroup at smc.vnet.net> > Sent: Thursday, March 10, 2011 12:06 AM > Subject: Re: [mg117082] How to kill slave kernel securely? > > > On Wed, 9 Mar 2011 07:00:02 -0500 (EST), Alexey wrote: > > Good day, > > > > LinkClose[link] "does not necessarily terminate the program at the > > other end of the connection" as it is said in the Documentation. Is > > there a way to kill the process of the slave kernel securely? > > If the kernel's $ParentLink is the link that got closed, then the kernel > should > kill itself after, at most, a few seconds. This is not true for MathLink > programs generally, but it is true for Mathematica kernels. Are you coming > across a case where that isn't happening? > > Sincerely, > > John Fultz > jfultz at wolfram.com > User Interface Group > Wolfram Research, Inc. >