Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Aug 2003 11:04:13 -0700 (PDT)
From:      Doug White <dwhite@gumbysoft.com>
To:        Eugene Grosbein <eugen@grosbein.pp.ru>
Cc:        bug-followup@freebsd.org
Subject:   Re: bin/55346: /bin/sh eats memory and CPU infinitely
Message-ID:  <20030814110321.V4145@carver.gumbysoft.com>
In-Reply-To: <20030815003035.A32998@grosbein.pp.ru>
References:  <20030815003035.A32998@grosbein.pp.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

On Fri, 15 Aug 2003, Eugene Grosbein wrote:

> Hi!
>
> It seems /bin/sh in 4.8-STABLE has problem with SIGCHLD processing.
> In short, it often fails to process it correctly, zombies float
> around, jobs are not marked as finished in jobtab[] that fills memory
> and takes much CPU to be processed.
>
> Run this one-liner using /bin/sh and see hundreds of zombies:
>
> #!/bin/sh
> while :; do : & done

Considering that with this script you are forkbombing your machine as
root, I think this falls into the "doctor it hurts when I shoot my foot"
category.

-- 
Doug White                    |  FreeBSD: The Power to Serve
dwhite@gumbysoft.com          |  www.FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030814110321.V4145>