Date: Mon, 24 May 2010 10:35:57 +0000 (UTC) From: Jilles Tjoelker <jilles@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/bin/sh jobs.c Message-ID: <201005241036.o4OAaH11020259@repoman.freebsd.org>
index | next in thread | raw e-mail
jilles 2010-05-24 10:35:57 UTC
FreeBSD src repository
Modified files:
bin/sh jobs.c
Log:
SVN rev 208489 on 2010-05-24 10:35:57Z by jilles
sh: Reap any zombies before forking for a background command.
This prevents accumulating huge amounts of zombies if a script executes
many background commands but no external commands or subshells.
Note that zombies will not be reaped during long calculations (within
the shell process) or read builtins, but those actions do not create
more zombies.
The terminated background commands will also still be remembered by the
shell.
PR: bin/55346
Revision Changes Path
1.76 +13 -1 src/bin/sh/jobs.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005241036.o4OAaH11020259>
