Kill unkillable process

Hi.

I have a process running on my machine at priority 7r which I can’t kill
using ‘slay’ or ‘kill’. I have to shutdown the machine! How do you kill
such processes?

Thanks

Augie

Run one of them:

kill -9 <proc_id>
kill -sigkill <proc_id>
kill -KILL <proc_id>

Augie Henriques <augiehenriques@hotmail.com> a écrit dans le message :
9138jr$gg3$1@inn.qnx.com

Hi.

I have a process running on my machine at priority 7r which I can’t kill
using ‘slay’ or ‘kill’. I have to shutdown the machine! How do you kill
such processes?

Thanks

Augie

If you have a higher priority process consuming all the CPU,
that process won’t be able to process the kill event.

“Augie Henriques” <augiehenriques@hotmail.com> wrote in message
news:9138jr$gg3$1@inn.qnx.com

Hi.

I have a process running on my machine at priority 7r which I can’t kill
using ‘slay’ or ‘kill’. I have to shutdown the machine! How do you kill
such processes?

Thanks

Augie

Mario Charest <mcharest@void_zinformatic.com> wrote in message
news:FY9Z5.5883$u73.160166@wagner.videotron.net

If you have a higher priority process consuming all the CPU,
that process won’t be able to process the kill event.

How high? The processes in question are workers for Photon apps, they run
at 7r.
They run READY after something goes wrong and I can’t kill them.

Augie

“Augie Henriques” <> augiehenriques@hotmail.com> > wrote in message
news:9138jr$gg3$> 1@inn.qnx.com> …
Hi.

I have a process running on my machine at priority 7r which I can’t kill
using ‘slay’ or ‘kill’. I have to shutdown the machine! How do you
kill
such processes?

Thanks

Augie
\

“Richard R. Kramer” <rrkramer@kramer-smilko.com> wrote in message
news:3A354D94.3C7B0052@kramer-smilko.com

sin | grep READY - then slay -h all the processes at 8 or higher.
Afterthought: You may see Proc or Dev in this list; leave them be.

Not necessary ALL proccess :wink: Some may be in READY state
and not consume the CPU totaly.

After the process you killed dies, slay -u will start up the
processes you held via the slay -h.

Richard

Augie Henriques wrote:

Mario Charest <mcharest@void_zinformatic.com> wrote in message
news:FY9Z5.5883$> u73.160166@wagner.videotron.net> …

If you have a higher priority process consuming all the CPU,
that process won’t be able to process the kill event.

How high? The processes in question are workers for Photon apps, they
run
at 7r.
They run READY after something goes wrong and I can’t kill them.

Augie


“Augie Henriques” <> augiehenriques@hotmail.com> > wrote in message
news:9138jr$gg3$> 1@inn.qnx.com> …
Hi.

I have a process running on my machine at priority 7r which I can’t
kill
using ‘slay’ or ‘kill’. I have to shutdown the machine! How do you
kill
such processes?

Thanks

Augie
\

“Augie Henriques” <augiehenriques@hotmail.com> wrote in message
news:913c8n$ies$1@inn.qnx.com

Mario Charest <mcharest@void_zinformatic.com> wrote in message
news:FY9Z5.5883$> u73.160166@wagner.videotron.net> …

If you have a higher priority process consuming all the CPU,
that process won’t be able to process the kill event.

How high?

Just higher then the process you are trying to kill, or even
at the same priority if the process are 7f .

The idea is the process needs some CPU to handle the kill event.

They run READY after something goes wrong and I can’t kill them.

Augie


“Augie Henriques” <> augiehenriques@hotmail.com> > wrote in message
news:9138jr$gg3$> 1@inn.qnx.com> …
Hi.

I have a process running on my machine at priority 7r which I can’t
kill
using ‘slay’ or ‘kill’. I have to shutdown the machine! How do you
kill
such processes?

Thanks

Augie


\

Previously, Yanick Aubut wrote in comp.os.qnx:

Run one of them:

kill -9 <proc_id
kill -sigkill <proc_id
kill -KILL <proc_id

If this does not work, there are some other possibilities.

  1. This process has made itself unkillable. If this is the
    case, the only options are to either find out how it wants to
    be killed, or shut the system down.

  2. This process is REPLY blocked on another process that
    catches signals to the first process, and then ignores them.
    If this is the case, you can try killing the second process.

  3. No cpu is getting to the process to allow time to die.
    This is fairly unlikely.

  4. If the process is now a ZOMBIE, its parent needs to
    either do a wait(), or die before the ZOMBIE will go away.


    Mitchell Schoenbrun --------- maschoen@pobox.com