bin/55346: /bin/sh eats memory and CPU infinitely
eugen at grosbein.pp.ru
Thu Aug 14 09:40:17 PDT 2003
The following reply was made to PR bin/55346; it has been noted by GNATS.
From: Eugene Grosbein <eugen at grosbein.pp.ru>
To: stable at freebsd.org
Cc: bug-followup at freebsd.org
Subject: Re: bin/55346: /bin/sh eats memory and CPU infinitely
Date: Fri, 15 Aug 2003 00:30:35 +0800
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:
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).
More information about the freebsd-bugs