Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2010-11-30
4
Medium Priority
?
2,225 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 2000 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
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 demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month13 days, 5 hours left to enroll

971 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