Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Aug 2003 00:30:35 +0800
From:      Eugene Grosbein <eugen@grosbein.pp.ru>
To:        stable@freebsd.org
Cc:        bug-followup@freebsd.org
Subject:   Re: bin/55346: /bin/sh eats memory and CPU infinitely
Message-ID:  <20030815003035.A32998@grosbein.pp.ru>

next in thread | raw e-mail | index | archive | help
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

A kernel will halt this as soon as it reaches limits and write a message:

/kernel: maxproc limit exceeded by uid 0, please see tuning(7) and login.conf(5).

Eugene Grosbein



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