Impossible to kill a process !!

Environment:
 Sun Enterprise 3000 with 3 processors
 Solaris 2.6

SOMETIMES it´s imposible to kill a procces (perhaps with problems)

I try "kill -9 <id_process>"
 (the UID is correct)

The only way to destroy the process is rebooting. ¿¿??
elmisterAsked:
Who is Participating?
 
chris_calabreseConnect With a Mentor Commented:
This issue has been hashed out here before.

If a process is unkillable, it's because it's in kernel mode waiting for an event that never takes place in a part of the kernel that is not interruptable by the signaling mechanism.  This usually indicates some kind of HW failure like a hung device.

The only way to debug this is to run a system call trace on the process and watch what it's doing right before it hangs.
0
 
rbrCommented:
Are you root?
What process are these?
0
 
elmisterAuthor Commented:
The owner is a current user.
If the user or the root try kill it, it´s imposible SOMETIMES.
0
Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

 
geoff2000Commented:
When a program forks and the child finishes before the parent, the kernel still keeps some of its information about the child in case the parent might need it. For example, the parent may need to check the child's exit status. To be able to get this information, the parent calls wait(); when this happens, the kernel can discard the information.

In the interval between the child terminating and the parent calling wait(), the child is said to be a `zombie'. (If you do `ps', the child will have a `Z' in its status field to indicate this.) Even
though it's not running, it's still taking up an entry in the process table. (It consumes no other resources, but some utilities may show bogus figures for e.g. CPU usage; this is because some parts
of the process table entry have been overlaid by accounting info to save space.)
0
 
chris_calabreseCommented:
True, but it didn't seem like this was the issue from the original description.  Elmister, are they showing up as zombies in ps?
0
 
ahoffmannCommented:
as chris_calabrese said. Most common are processes with some kind of "disk failture", they are marked D (disk waiting) in ps output, a problem known from the very early days of SunOS :(
0
All Courses

From novice to tech pro — start learning today.