public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* /proc question
@ 2005-08-05  6:08 Davy Durham
  2005-08-05  6:24 ` Jan Engelhardt
  0 siblings, 1 reply; 3+ messages in thread
From: Davy Durham @ 2005-08-05  6:08 UTC (permalink / raw)
  To: linux-kernel

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: /proc question
  2005-08-05  6:08 /proc question Davy Durham
@ 2005-08-05  6:24 ` Jan Engelhardt
  2005-08-05  6:31   ` Davy Durham
  0 siblings, 1 reply; 3+ messages in thread
From: Jan Engelhardt @ 2005-08-05  6:24 UTC (permalink / raw)
  To: Davy Durham; +Cc: linux-kernel


> 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.

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


Jan Engelhardt
-- 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: /proc question
  2005-08-05  6:24 ` Jan Engelhardt
@ 2005-08-05  6:31   ` Davy Durham
  0 siblings, 0 replies; 3+ messages in thread
From: Davy Durham @ 2005-08-05  6:31 UTC (permalink / raw)
  To: Jan Engelhardt; +Cc: linux-kernel

Jan Engelhardt wrote:

>>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.
>
>  
>
>>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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-08-05  6:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-05  6:08 /proc question Davy Durham
2005-08-05  6:24 ` Jan Engelhardt
2005-08-05  6:31   ` Davy Durham

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox