NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/35227 (/bin/sh does not clean up zombies under certain circumstances)



    Date:        Sun, 21 Feb 2016 19:31:49 +0100
    From:        Roland Illig <roland.illig%gmx.de@localhost>
    Message-ID:  <56CA0295.2010209%gmx.de@localhost>

  | And seriously: I just tested it on NetBSD-7.0, and while running the
  | example program, top(1) still showed me 8 zombie processes. So no, it is
  | not fixed.

I'm testing it on 7.0_BETA which is pretty much the same thing, and I
don't see any more than the occasional zombie - the normal thing you
expect to see when a process has exited and its parent is temporarily
busy - and they all go away quite quickly.  I haven't detected more than
1 existing at any one time.

I am using the standard /bin/sh for this - not the one from current that
I have been working on.

There are 2 possible differences that I can think of (since I am running
the script cut & pasted from the PR, unchanged, and I doubt sh put a bug
back between 7.0_BETA and 7.0) ... perhaps the system architecture is
important (the PR doesn't say what you're using) - I am testing on amd64.

Or, possibly your /etc/hosts is much bigger (or perhaps smaller?)
than mine, I have ...

-rw-r--r--  1 root  wheel  3398 Feb 16 08:14 /etc/hosts

kre

ps: apologies to all for the mix-up in the PR number when I first asked
about this...   Mostly for the PRs I have been looking at, and sending
comments about, I have been pasting the number into the e-mail.  Obviously
I didn't this time!






Home | Main Index | Thread Index | Old Index