LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   ps aux: [index.html <defunct>] (https://www.linuxquestions.org/questions/linux-general-1/ps-aux-%5Bindex-html-defunct-%5D-319952/)

chibi 05-04-2005 03:34 AM

ps aux: [index.html <defunct>]
 
Hello,

I've got a weird entry in ps aux:

504 9522 0.0 0.0 0 0 ? Z 00:18 0:00 [index.html <defunct>]

504 is a user whos name is more than 8 letters..

as root, i tried:

kill -s kill 9522 but nothing happened.

How do I make it go away and does defunct just mean defunctional? Does that mean it crashed or was lost or wha?

Thanks :)

slackie1000 05-04-2005 04:18 AM

hi there,

the process is not running anymore. to get rid of it you need to kill the "father".
try
Code:

ps -ef
and check the third column of this process. if it is 1 ... you can try kill your defunct with
Code:

kill -9 9522
if it is different than 1
use
Code:

kill -9 $PID_OF_THE FATHER
regards

slackie1000

chibi 05-04-2005 11:46 AM

Okay, I understand what I have to do...but..

what if the father is Apache or something? Will that shutdown the entire Apache server???

Thanks

slackie1000 05-06-2005 02:05 AM

hi there,

i think i was sleeping when i wrote my first post. wrote wrong things..
sorry. here it goes...
if the father is alive - ex. Apache - do not kill it. you should kill only the "child".
but, if you got a defunct in something where the "father" process is alive, you should check.
this should not happen.

regards

slackie1000

chibi 05-07-2005 04:03 AM

Thanks for your help :)

So I am guessing if I just ignore them and wait for reboot they are fine sitting there how they are?

Its okay if you dont respond back, I didnt reply back right away and you probably forgot about the post :)

Take care,

-Chibi


All times are GMT -5. The time now is 03:10 AM.