Discussion:
How to kill a runaway perl script
(too old to reply)
Brian Mantler
2006-08-15 12:07:03 UTC
Permalink
HI,

Is there any way to kill a runaway perl srcipt on netware?

If I try to unload perl I get a Command LIne Interface cannot be unloaded
at this time error.

Thanks.
Guenter
2006-08-15 23:30:59 UTC
Permalink
Hi Brian,
Post by Brian Mantler
HI,
Is there any way to kill a runaway perl srcipt on netware?
If I try to unload perl I get a Command LIne Interface cannot be unloaded
at this time error.
thats most likely because your script has loaded addditional NLMs; if you
first unload these it might work;
I've had often luck with this:
# unlperl.ncf
unload socket
unload pmysql
unload dbi
unload base64
unload fcntl
unload io
unload cwd
unload glob
unload posix
unload perl

HTH, Guenter,
jensulrik
2006-08-16 08:17:24 UTC
Permalink
Post by Brian Mantler
HI,
Is there any way to kill a runaway perl srcipt on netware?
If I try to unload perl I get a Command LIne Interface cannot be unloaded
at this time error.
Thanks.
Brian,

I put Perl scripts that doesn't need to share OS address space ressources
into their own address space using:

load address space=<myspace> perl <myscript.pl>

To (brutally) kill it, unload the address space:

unload address space=<myspace>

This tip may come in a bit late for you - but it may help in the future.
Loading...