Solved

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

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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

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…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.

863 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

24 Experts available now in Live!

Get 1:1 Help Now