Operating System - HP-UX
1820879 Members
4912 Online
109628 Solutions
New Discussion юеВ

Unable to terminate process through kill command

 
Md. Farhan A Azam
Trusted Contributor

Unable to terminate process through kill command

Hi,

One process is running in my server, i tried to terminate the process through kill command.
but its not getting terminated.

PID - 26108
PPID - 1

This is something urgent, so can any one help me on the same.

Thanks
Farhan
8 REPLIES 8
Md. Farhan A Azam
Trusted Contributor

Re: Unable to terminate process through kill command

Already i tried with,

#kill -9

but the result is same, process is still runnging, and using 100% CPU.
Dennis Handly
Acclaimed Contributor

Re: Unable to terminate process through kill command

>I tried with, kill -9 ... and using 100% CPU.

Typically a process you can't kill -9 is hung and isn't using any CPU. What does "ps -fp 26108" show?
Johnson Punniyalingam
Honored Contributor

Re: Unable to terminate process through kill command

kill -9

example:-

kill -9 26108

Rgds,
Johnson
Problems are common to all, but attitude makes the difference
Md. Farhan A Azam
Trusted Contributor

Re: Unable to terminate process through kill command

Hi,
Dennis,

UID PID PPID C STIME TTY TIME COMMAND
root 26108 1 135 12:55:02 ? 212:06 frecover -xv -X -g /var/sam/graphTCAa25692 -f /dev/rmt/1m
Md. Farhan A Azam
Trusted Contributor

Re: Unable to terminate process through kill command

Hi Jhonson,

Already i tried with,

#kill -9

but the result is same, process is still runnging, and using 100% CPU
Md. Farhan A Azam
Trusted Contributor

Re: Unable to terminate process through kill command

Hi,

Thanks for your kind sugesstion , we have resolved this issue.
Dennis Handly
Acclaimed Contributor

Re: Unable to terminate process through kill command

If kill -9 doesn't work on the process, there is nothing you can do but reboot. Do you see any tape or disk activity?
I suppose you could try using renice to lower its priority.
Johnson Punniyalingam
Honored Contributor

Re: Unable to terminate process through kill command

Hi,

can you try this,

or

killall -- kill processes by name

mt -f /dev/rmt/1mn status
mt -f /dev/rmt/1mn rewind
mt -f /dev/rmt/1mn offline

than try kill -9 "Just try only"
Problems are common to all, but attitude makes the difference