Solved

AIX 5.1 - How to kill process that is stuck <exiting>?

Posted on 2010-11-30
4
2,148 Views
Last Modified: 2013-11-17
ibm1:/ # ps -ef | grep 5423240
       -  5423240        -   -                     - <exiting>

I tried killing a process.  Instead of being killed the process is now stuck exiting.  How can I get rid of this process?
0
Comment
Question by:Xetroximyn
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 

Expert Comment

by:raajuece
ID: 34238678
Hi,

Have you tried only Kill or with -9?

Try this following command,

#kill -9 5423240

Cheers-
0
 

Author Comment

by:Xetroximyn
ID: 34238699
I tried with 9 first.   That's how I normally kill.   Not sure why that's just how I was taught.  Anyway after that did not work I tried without the 9.  Still did not work. Any other suggestions?
0
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
ID: 34239142
Hi,

afaik, the only way to get rid of those (essentially harmless) beasts is rebooting, unfortunately.

The problem is that when a process exits, it tries to release all of its resources.
If one of those resources is locked up the above phenomenon will show up.

Freeing of resources occurs in kernel mode, and is not interruptable - thus "kill" will not work - moreover, it's redundant because an exiting procees is already terminated ("killed") some way.

So despite it's AIX - reboot, if you must get rid of <exiting> processes!

wmp
0
 

Author Closing Comment

by:Xetroximyn
ID: 34239272
Thx
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question