Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Aug 2003 09:40:15 -0700 (PDT)
From:      Eugene Grosbein <eugen@grosbein.pp.ru>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/55346: /bin/sh eats memory and CPU infinitely
Message-ID:  <200308141640.h7EGeFNi033236@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/55346; it has been noted by GNATS.

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
Date: Fri, 15 Aug 2003 00:30:35 +0800

 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?200308141640.h7EGeFNi033236>