Skip to contentSkip to conversation

/proc question

DISCUSSION Davy Durham 2 participants 3 messages Aug 5, 2005

lore
Share & tools
lore
#0 lore raw

After much research.. I have a question regarding /proc

I have a zombie process which has apparently died for some unknown reason.. I know it was terminated by a signal (found that from the 9th field (sheduler flags) in /proc/pid/stat)

However, I'm trying to figure out what signal killed it.

Also, it would be nice if /proc could show what the exit status of a dead process is.. seems strange that it doesn't contain that information (or am I just not seeing it in there).

Any info would be helpful.. thanks,
Davy

#1 lore raw
Quoted 4 lines

I have a zombie process which has apparently died for some unknown reason.. I know it was terminated by a signal (found that from the 9th field (sheduler flags) in /proc/pid/stat)

Start the process under the observation of strace.

Quoted 1 line

However, I'm trying to figure out what signal killed it.

Jan Engelhardt

#2 lore raw
Quoted 10 lines · Jan Engelhardt
Quoted 5 lines

I have a zombie process which has apparently died for some unknown reason.. I know it was terminated by a signal (found that from the 9th field (sheduler flags) in /proc/pid/stat)

Start the process under the observation of strace.

Quoted 8 lines
Quoted 3 lines

However, I'm trying to figure out what signal killed it.

Jan Engelhardt

Wish I could.. but it's already happened (to a lot of processes for the same reason)

It's an intermittant problem and can't really reproduce it at will.

I've redeployed the binary now so I can hopefully attach to it with gdb to figure out some things next time it does happen.