All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Friesen <chris.friesen@genband.com>
To: linux-kernel@vger.kernel.org
Subject: defunct processes owned by init, not being reaped ?
Date: Fri, 13 Aug 2010 12:22:30 -0600	[thread overview]
Message-ID: <4C658D66.3020801@genband.com> (raw)


I'm seeing something very strange.  I've got a system running a modified
2.6.27.18.  There are two tasks that are showing up as defunct but owned
by init:

root@typhoon-base-unit1:/root> ps -ef|grep defun
root    9933   1  0 09:05 ?   00:00:23 [oamFmLogServerP] <defunct>
root    9959   1  0 09:05 ?   00:00:21 [oamFmCliServerP] <defunct>
root   27674 17021  0 18:17 pts/2  00:00:00 grep defun

I tried sending init a SIGCHLD to force it to reap them.  Init tries to
wait for any children, but it doesn't catch them and they remain
defunct--here's the strace of init:

stat64("/dev/initctl", {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
fstat64(10, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
stat64("/dev/initctl", {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
select(11, [10], NULL, NULL, {5, 0})    = ? ERESTARTNOHAND (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(-1, 0xffcbf6ac, WNOHANG)        = 0
sigreturn()                             = ? (mask now [])
time(NULL)                              = 1281723340


Anyone got any ideas what could possibly result in this sort of behaviour?

Thanks,

Chris

-- 
Chris Friesen
Software Developer
GENBAND
chris.friesen@genband.com
www.genband.com

                 reply	other threads:[~2010-08-13 18:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C658D66.3020801@genband.com \
    --to=chris.friesen@genband.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.