The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > HP-UX
Google UNIX.COM


HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
how do I kill defunct processes? csaunders SUN Solaris 10 01-28-2008 01:49 PM
Unix Kill processes tadi18 Shell Programming and Scripting 5 07-23-2007 04:37 AM
Kill several processes at a time JCR UNIX for Dummies Questions & Answers 4 01-23-2007 10:14 AM
kill all processes Terrible Shell Programming and Scripting 0 08-21-2006 04:49 PM
kill all user processes vascobrito Shell Programming and Scripting 2 04-02-2004 10:27 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 09-02-2005
Registered User
 

Join Date: Sep 2005
Location: San Diego, CA
Posts: 2
Unable to kill processes on HPUX

HPUX version B.11.23 as reported by uname -a

Start with default signal I believe is -15
#kill PID
Process still present.
#kill -9 PID
Process still present, even after repeated attempt and waiting.

PPID becomes 1 which is the init process
started at boot time.


So far only way to stop has been to reboot host.

Any suggestions, HP support has been unhelpful.
Reply With Quote
Forum Sponsor
  #2  
Old 09-02-2005
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,667
Unkillable processes are usually trying to complete a system call. The process will die once the system call completes. If you use glance you can see what the process is waiting for. If the process is inappropriately unkillable, the culprit is usually a defective driver.
Reply With Quote
  #3  
Old 09-13-2005
Registered User
 

Join Date: Sep 2005
Location: San Diego, CA
Posts: 2
Thanks for response.
The processes that I want to kill have been hanging one one host since I posted the question. Waiting has not been the issue. I should be able to kill any process, regardless of what it may be waiting for. I have not ever had this kind of problem with same code ported to SGI IRIX or RedHat Linux.

I do not know what glance is , but will try to find it.
Most of the unkillables are ssh connections that scripts are using to collect
information from redundant hosts in a group. But I have had instances where
scripts and C compiled binaries have overloaded a system causing me to
attempt cleanup by killing them, but they will not die... thereby mu only recourse was to reboot. These same programs are then fine after reboot.

I was curious as to whether there was a known hpux kernel bug that I could repair.
Reply With Quote
  #4  
Old 09-13-2005
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,667
Quote:
Originally Posted by matthewdesimone
I should be able to kill any process, regardless of what it may be waiting for.
No you shouldn't. As one example, mkdir() requires several io operations. If it starts but does not complete, the file system is in an illegal state.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 10:01 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0