- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Stopping hung processes
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
11-08-2001 08:38 AM
11-08-2001 08:38 AM
I'm sure I answered my own question, but I need to ask because I cannot reboot this machine this week and I need to get some work done.
I have a file system (vxfs) called /dbs/USDEV_6 which has a few processes that were running against it doing different things: 'll', 'tar', 'll -R'
Somehow, thanks to lost connections via nfs or other these processes seem to be hung now.
A 'ps -eaf' shows the processes are in the process table and have lost their parent attachment (now assigned to init). These processes are also 'sleeping' in 'top'.
I have tried 'kill'ing from several angles: 9, 3, 15, etc. to no avail. I cannot 'umount' the file sys for obvious reasons, and I tried stopping the processes with 'fuser -k', no help.
Is there any hope for me without having to reboot the system????
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2001 08:42 AM
11-08-2001 08:42 AM
Solutionquote //
The only sure way to kill a defunct process is to reboot. You may be able to kill it by changing to a single-user state and then back to your normal initial state.
A defunct process does no harm to the system, however. You may safely allow it to remain.
//unquote
hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2001 08:43 AM
11-08-2001 08:43 AM
Re: Stopping hung processes
Since all of the processes are blocked waiting on I/o they are not going to notice your signals. Normally, NFS mounts should recover if your can get the server back up. If not, well time for the big reboot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2001 08:44 AM
11-08-2001 08:44 AM
Re: Stopping hung processes
If the process is hung and now owned by '1' the system, then the only option you can do to effectively clear these up...is the dreaded reboot.
Rgrds,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2001 08:44 AM
11-08-2001 08:44 AM
Re: Stopping hung processes
Here are two thread for you to look at,
http://us-support.external.hp.com/cki/bin/doc.pl/sid=c06a036d008734c1e6/screen=ckiDisplayDocument?docId=200000019779201
http://us-support.external.hp.com/cki/bin/doc.pl/sid=c06a036d008734c1e6/screen=ckiDisplayDocument?docId=200000006340650
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2001 08:46 AM
11-08-2001 08:46 AM
Re: Stopping hung processes
If it is an NFS issue sometimes things can be recovered once the NFS server is brought back up, but since these processes are already defunct, a reboot is likely the only way to clear them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2001 08:48 AM
11-08-2001 08:48 AM
Re: Stopping hung processes
If these processes are orphaned/defunct,
they won't be consuming any resources, except
for taking up an entry in the process table.
So, i don't see any need for rebooting the system. In any busy system with lots of users, one can see atleast a few defunct processes around and it is considered as "normal" to let this guys float around until the next reboot.
If these processes are "runaway" processes,
which consume CPU time very rapidly, they there is a need to kill them and infact they are killable, unlike defunct processes.
Based on the info you gave, my suggestion would be to just let them be as it is , unless they are hogging system resources .
-raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2001 09:56 PM
11-08-2001 09:56 PM
Re: Stopping hung processes
Defunct process can be quite a bother occasionally. A couple of cases in point:
1. The defunct process has opened a connection to a database, and somebody wants to take a dump of the database. dbexport will not run if the database has any open connections.
2. This guy uses a compilation script, which compiles his source and then 'cp -f's the fresh executable into the runtime environment. But the old exe is still running, so he gets an error.
Times like this, there's no alternative to rebooting the box

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2001 05:43 AM
11-09-2001 05:43 AM