Re: LTP 20080131 causes defunct processes w/2.6.30-rc1 (possibleptrace issue?)

From: Sukadev Bhattiprolu
Date: Thu Apr 09 2009 - 21:01:26 EST


>
> -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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/