Solved

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

Posted on 2010-11-30
4
2,121 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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

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…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

738 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