- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Unable to kill process, in a "stop" state
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
Forums
Discussions
Discussions
Discussions
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
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
05-24-2001 05:39 AM
05-24-2001 05:39 AM
Unable to kill process, in a "stop" state
here is the output from top:
? 25242 user1 152 20 2408K 2876K stop 0:00 0.04 0.04 mtmain0
Thanks for any input.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2001 05:42 AM
05-24-2001 05:42 AM
Re: Unable to kill process, in a "stop" state
The only way to get rid of it is to reboot.....
Hope this helps,
/rcw
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2001 06:40 AM
05-24-2001 06:40 AM
Re: Unable to kill process, in a "stop" state
SIGSTOP and SIGCONT: Useful signals
There are several useful signals that can be used to suspend and resume tasks. SIGSTOP will stop a task, leaving it in a suspended state. And SIGCONT will resume a task stopped by SIGSTOP. To send these signals to a task, use the kill() function described above. If you want to send a signal to the current running task and you do not know what the process id is, use the getpid() function. See below for an example.
main()
{
int mypid;
printf("\n I'm going to stop myself and I don't know my pid.\n");
/* get my process id */
mypid = getpid();
/* send myself the stop signal */
kill(mypid,SIGSTOP);
}
Regards,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2001 06:43 AM
05-24-2001 06:43 AM
Re: Unable to kill process, in a "stop" state
According the HP folks, the problem is that the software gets "hung" out in the hardware device. In effect you can kill the process, but it's "immune" to the kill because it's waiting for I/O from a hardware device that in an unknown state.
Unfortunately, the I/O will never happen, and unfortunately the process will never go away without a reboot, and unfortunately you won't be able to use the device until you reboot.
I don't recall seeing these apps in a STOP state, but you might see if this app could caught up in hardware.
I also wonder if a process in the STOP state
can be killed, since STOP and KILL are the only two signals that cannot be ignored.
Why don't you try to resume the process
kill -26 PID
then try to kill it
kill -9 PID
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2001 06:53 AM
05-24-2001 06:53 AM
Re: Unable to kill process, in a "stop" state
The zombie is probably being held open by a TCP socket connection to another machine. Use the shareware lsof program to try to find the IP associated with the pid of the zombie, break the tcp connection (reboot remote box, use ndd command to kill the tcp connection) and the zombie should die a peaceful death.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2001 07:22 AM
05-25-2001 07:22 AM
Re: Unable to kill process, in a "stop" state
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2001 08:01 AM
05-25-2001 08:01 AM
Re: Unable to kill process, in a "stop" state
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2001 08:19 AM
05-25-2001 08:19 AM
Re: Unable to kill process, in a "stop" state
I think the best thing what can be done is to follow Rita's first advice and reboot system, if you really want to kill this process. But must add, not only zombie precesses we are not able to kill. Any process in a high priority state waiting for sth is robust and does not react on the signal 9 and any other. So in practice only way is to reboot.
Rgds.