Solved

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

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machineā€¦
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consolā€¦
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

707 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now