- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to kill a process
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
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
тАО07-09-2002 02:32 AM
тАО07-09-2002 02:32 AM
how to kill a process
I have tried to kill them, also with kill -9 but they are still running.
How can i kill them without restart the server?
Thanks
Stefano
- Tags:
- kill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-09-2002 02:38 AM
тАО07-09-2002 02:38 AM
Re: how to kill a process
Just a word of caution do not use kill -9 to kill at the first instance. This abruptly kills the process and leave behind memeory segments occupied.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-09-2002 02:39 AM
тАО07-09-2002 02:39 AM
Re: how to kill a process
If it's a hardware error on a mirrored disk, pulling the faulty disk from the system can release the processes (trying this on a non-mirorred system is definitely not advisable).
If it's another process that's locking it (waiting as part of an application for example), shutting down the app may solve the issue.
As you have an ll that appears to be hanging, I'd say that a hardware fault is more likely than an application one.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-09-2002 03:42 AM
тАО07-09-2002 03:42 AM
Re: how to kill a process
To release them from their enternal torment you will have to reboot I am afraid.
- Tags:
- zombie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-09-2002 03:56 AM
тАО07-09-2002 03:56 AM
Re: how to kill a process
if the process has entered zombie state, u may require to reboot.
regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-09-2002 04:05 AM
тАО07-09-2002 04:05 AM
Re: how to kill a process
If the process is blocked & waiting on I/O, it will not catch the kill signal. A tar command that's hung can do this. Sometimes resetting (power cycle) the tape drive can free the process.
If the PID has gone zombie, you could determine it's parent & if that's not a vital process you might try to stop or kill the parent - the zombie child could go with it. But I'd caution you to make SURE of what the parent process is - i.e. do not kill PID 1.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-09-2002 04:16 AM
тАО07-09-2002 04:16 AM
Re: how to kill a process
I haven't any problem with tape.
So what process on dvd can give tha same problem that Jeff Schussele
has suggested that can be done from tar?
Stefano
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-09-2002 04:17 AM
тАО07-09-2002 04:17 AM
Re: how to kill a process
Ignore it
or
reboot
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-09-2002 04:25 AM
тАО07-09-2002 04:25 AM
Re: how to kill a process
find lsof here:
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.61/
live free or die
harry
- Tags:
- lsof
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-09-2002 07:42 PM
тАО07-09-2002 07:42 PM
Re: how to kill a process
Any process that has a priority less-than or equal to PZERO (see /usr/include/sys/param.h) is not signalable. Let's say you are trying to kill ll(1). There is a good chance it is reading inodes at a priority of PINOD (which is less than PZERO).
Always move from weakest to strongest kills (SIGHUP, SIGINT, SIGQUIT, ...), and use the names. My personal favorite is SIGABRT (just like -9 [aka SIGKILL], it does not give the process a chance to clean up outstanding I/O, shared memory segments, message queues, etc), but it will also generate a core file so that you have a chance to figure out what the process was up to when you felt the need to exert SuperUser powers. In any instance, SIGABRT and SIGKILL are last resorts (and only a reboot will remove what they won't).
BTW: don't worry about memory pages -- the paging algorighm will page them out if memory demands are up and the pages have not been used.
-dlt-