- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Killing daemon processes having pid not equal to 1
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2005 11:34 AM
тАО10-05-2005 11:34 AM
I just read sometime back on this forum that if daemon with a pid number 1 is hung; it can't be killed by "kill -9" command.
I assume that any daemon processes which doesn't have pid 1 can be killed.
Please let me know whether my assumption is correct.
Thanks,
Shiv
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2005 11:40 AM
тАО10-05-2005 11:40 AM
SolutionIf a process is waiting on I/O, then it is not kill-able.
An example -- You have a single disk with a VG/LV/filesystem on it. The disk goes completely bad. Anything you do that references that Disk/VG/LV/filesystem will likely hang because it is waiting on I/O from the disk, which isn't going to happen because the disk is dead. If you tried to kill those processes, you wouldn't be able to because they are waiting on I/O.
The PPID (Parent Process ID), which is what I think you meant rather than the PID (Process ID), really doesn't determine if something can be killed.
I think what you actually read was talking about Zombie processes (processes whose parent has gone away causing the PPID to become 1). Zombies cannot be killed (THEY'RE ALREADY DEAD!).
However, not all hung processes are zombies.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2005 12:01 PM
тАО10-05-2005 12:01 PM
Re: Killing daemon processes having pid not equal to 1
Whether or not a process can respond to any signal (even kill -9) depends upon the events upon which the process is waiting. For example, if a process is waiting on a higher priority event (e.g. i/o) then you can kill -9 it forever and the process will not respond.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2005 01:27 PM
тАО10-05-2005 01:27 PM
Re: Killing daemon processes having pid not equal to 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2005 03:44 PM
тАО10-05-2005 03:44 PM
Re: Killing daemon processes having pid not equal to 1
-Arun