Unix Technical Forum

Process that won't die

This is a discussion on Process that won't die within the AIX Operating System forums, part of the Unix Operating Systems category; --> I have a process that does a lot of things I won't go into, but on a particular machine ...


Go Back   Unix Technical Forum > Unix Operating Systems > AIX Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-05-2008, 08:41 AM
soccertl
 
Posts: n/a
Default Process that won't die

I have a process that does a lot of things I won't go into, but on a
particular machine we have the process looks like it is ending
according to the logs I have but is still running according to ps. Even
a kill -9 does not remove it.

It shows up in []s, i.e. [processname]. I do not know what the [] means
around a process name as I have never seen that before.

I know my process makes it to my exit list as I log to a file that this
occurred. Is my process hung out in some system call? How do I tell? I
cannot attach the dbx debugger to it as it hangs as well.

Any help or clues would be appreciated. Thanks.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-05-2008, 08:41 AM
soccertl
 
Posts: n/a
Default Re: Process that won't die

The ps output is:

root 40012 1 63 10:13:30 pts/0 89:18 [hinit]

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-05-2008, 08:41 AM
sbzx
 
Posts: n/a
Default Re: Process that won't die

Part of your question is answered here:
http://www.faqs.org/faqs/aix-faq/part1/section-42.html

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-05-2008, 08:41 AM
sbzx
 
Posts: n/a
Default Re: Process that won't die

The other part is answered here:
http://publib.boulder.ibm.com/infoce...ixcmds4/ps.htm

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-05-2008, 08:42 AM
soccertl
 
Posts: n/a
Default Re: Process that won't die

Thanks for the answers sbzx, but the first one does not work since
crash does not exist on our systems, AIX 5.3, and dbx hangs trying to
attach to the process.

I already knew how to use ps and display flags/status about the
process. I am not sure what you wanted me to look at since there is
nothing that explains the [] in the text.

Turns out, one of the child processes called APIs in a library that was
downlevel and didn't match. This made the child process go away but
didn't clean something up so the parent process hung out forever when
it called to exit. Replacing the library with the current version fixed
the problem.

This sounds like an AIX bug to me.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-05-2008, 08:42 AM
soccertl
 
Posts: n/a
Default Re: Process that won't die

Also, this was found out by a member of our team that used the kernel
debugger to go in and see what was happening.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:41 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com