1833046 Members
2594 Online
110049 Solutions
New Discussion

unable to kill a process

 
Ryan_66
New Member

unable to kill a process

on one of our L2000 machines running HPUX 11.0 I am unable to kill 2 bdf processes. Is there any way other than rebooting the machine to get rid of these?

I have tried kill -3, kill -9, kill, kill -15, etc.
7 REPLIES 7
Shannon Petry
Honored Contributor

Re: unable to kill a process

My guess is that they are hung awaiting a nfs command that aborted.

Is the state of the processes zombie? if so then you need to reboot.

Regards,
Shannon
Microsoft. When do you want a virus today?
steven Burgess_2
Honored Contributor

Re: unable to kill a process

Hi Ryan

Who is the parent of the process ? init , with an id of 1 ? You may have a little trouble with those. Also , from the top command do you have any zombies ?

HTH

Steve
take your time and think things through
Sridhar Bhaskarla
Honored Contributor

Re: unable to kill a process

Hi,

There is a good chance that either the NFS mounts are hung or there could be a problem with your disks.

If it is NFS related, then you would need to find why NFS is hanging. Mostly due to NFS server issues.

If it is disk related, look at /var/adm/syslog/syslog.log or dmesg to see if there are any POWERFAILED messages or disk errors and fix them.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Pete Randall
Outstanding Contributor

Re: unable to kill a process

If they're waiting for a response from NFS, they probably won't go away without a reboot. Are they causing problems? Chewing up CPU cycles? If not, leave them until the next reboot.

Pete

Pete
A. Clay Stephenson
Acclaimed Contributor

Re: unable to kill a process

If the process is waiting on IO, you can send signals to it till the cows come home and nothing will happen. This is most typical when 1) the process is a zombie - in which case it's already dead and can't be killed or 2) waiting on I/O - e.g. a tape drive. In the latter case, you can often power cycle the tape or disk drive or eject the media and the process will then terminate.
If it ain't broke, I can fix that.
steven Burgess_2
Honored Contributor

Re: unable to kill a process

Hi

Here is a doc for trouble shooting a hung process

http://forums.itrc.hp.com/cm/components/FileAttachment/0,,0x4c04a22d6d27d5118fef0090279cd0f9,00.htm

Regards

Steve
take your time and think things through
Judy Traynor
Valued Contributor

Re: unable to kill a process

Try this

mount -a - This will mount everything

Then look in mnttab to see if there is a hard mount for an nfs mount point (Look for a mount to like a remote cdrom that is no longer mounted on the remote machine.)

Then do a fuser on the mount point in question.
Kill the fuser process (may have to do fuser /mnt/*/*/*
etc....)

Last resort should be reboot -
but before you do that, check your patches - there is a patch on the dec 2001 bundle that is a bad scsi disk patch that crashed my l2000 and it was a nasty crash.

Good luc
Sail With the Wind