lkml.org 
[lkml]   [2009]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: LTP 20080131 causes defunct processes w/2.6.30-rc1 (possible ptrace issue?)
>
> -bash-3.2# ps
> PID TTY TIME CMD
> 2289 ttyS0 00:00:00 bash
> 2310 ttyS0 00:00:00 runltp
> 2412 ttyS0 00:00:00 pan
> 2448 ttyS0 00:00:00 recv01 <defunct>
> 2450 ttyS0 00:00:00 recvfrom01 <defunct>
> 2452 ttyS0 00:00:00 recvmsg01 <defunct>
> 2473 ttyS0 00:00:00 rename14
> 2474 ttyS0 00:00:01 rename14
> 2477 ttyS0 00:00:00 rename14
> 2481 ttyS0 00:00:00 ps
> -bash-3.2# cat /proc/1/status
> Name: init
> State: T (stopped)

init is in the stopped state. Can you run "kill -CONT 1" ?

> Tgid: 1
> Pid: 1
> PPid: 0
> TracerPid: 0
> Uid: 0 0 0 0
> Gid: 0 0 0 0
> FDSize: 32
> Groups:
> VmPeak: 1948 kB
> VmSize: 1944 kB
> VmLck: 0 kB
> VmHWM: 648 kB
> VmRSS: 648 kB
> VmData: 164 kB
> VmStk: 84 kB
> VmExe: 288 kB
> VmLib: 1124 kB
> VmPTE: 20 kB
> Threads: 1
> SigQ: 8/16384
> SigPnd: 0000000000000000
> ShdPnd: 0000000000010000

Init does have the pending SIGCHLD, so the zombies should go away
when init gets the SIGCONT.


\
 
 \ /
  Last update: 2009-04-10 03:03    [from the cache]
©2003-2011 Jasper Spaans