- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- An httpd process won't die with kill -9
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
тАО03-30-2001 09:08 AM
тАО03-30-2001 09:08 AM
An httpd process won't die with kill -9
Is there a way to kill the process without rebooting?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2001 09:12 AM
тАО03-30-2001 09:12 AM
Re: An httpd process won't die with kill -9
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2001 09:13 AM
тАО03-30-2001 09:13 AM
Re: An httpd process won't die with kill -9
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2001 09:27 AM
тАО03-30-2001 09:27 AM
Re: An httpd process won't die with kill -9
"kill -9" is nicknamed "Kill with Extreme Prejudice" for ample reason -- it is a means to kill a process that is generally unavoidable. However, there are several situations where even a kill -9 will not terminate an unwanted process. For example, if the process is hung during a system call or if the process has entered a "zombie" state, it cannot generally be killed except by a reboot.
A "zombie" process can *sometimes* find its way to a peaceful death if and when its PARENT process; however, if this parent process is 1 ("init"), then the only way to terminate the process is to reboot the system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2001 09:35 AM
тАО03-30-2001 09:35 AM
Re: An httpd process won't die with kill -9
The Stronghold version is 3.0.
I tried killing the process with kill -HUP PID, first but that did not work, that's why I issued the kill -9 PID.
I looked for zombies or defunct processes, but did find any.
The parent process is 1.
The problem is resolved now that the machine has been rebooted, but I like to know in the future if there is another solution.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2001 10:05 AM
тАО03-30-2001 10:05 AM
Re: An httpd process won't die with kill -9
You might be able just to restart the server process when it hangs; sometimes the zombie processes just hang around but don't use any resources or prevent you from restarting it. You could give that a try.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2001 10:25 AM
тАО03-30-2001 10:25 AM
Re: An httpd process won't die with kill -9
You are right, when the process starts, it doesn not start with a 1 parent process, it starts with a process owned by root and all the subsequent children are owned by nobody.
When the process hangs, I try to restart it with kill PID, but that only kills all the children and not the parent. If I try to restart it, it does not complain that the process already exist. So after that, I tried kill -HUP or -9 or -17, but none of them works.
I know from an earlier message posted to the Forum, there was a reference to process that might be waiting for another io process and my feeling is that this is a socket that won't get released, or may be some shared memory issue. Could someone advise me along these lines and if there is anything else to watch for?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2001 01:34 PM
тАО03-30-2001 01:34 PM
Re: An httpd process won't die with kill -9
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2001 05:16 PM
тАО03-30-2001 05:16 PM
Re: An httpd process won't die with kill -9
Serial communication (ie, RS-232) is one of the common types of programs that programmers forget to add timeouts--they will hang forever if I/O never completes. Less often (but still possible), LAN communication can get messed up and I/O will not complete.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-01-2001 07:49 AM
тАО04-01-2001 07:49 AM
Re: An httpd process won't die with kill -9
# /usr/bin/apachectl stop
tnx,
jok
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2001 06:56 PM
тАО04-06-2001 06:56 PM
Re: An httpd process won't die with kill -9
reboot the system to take care of the unkillable process.
This article from HP support site is interesting and could be used to find the reason an contact HP support for HPUX related problems.
Your system might need some patches if it is a HPUX related bug. Otherwise the httpd daemon may have to be updated with the correct patches.