From: Donn Cave <donn@milton.u.washington.edu>
To: rc@archone.tamu.edu
Subject: background processes
Date: Tue, 8 Oct 1991 10:09:57 -0500 [thread overview]
Message-ID: <9110081509.AA00411@milton.u.washington.edu> (raw)
I have noticed that if rc only executes background commands (i.e. with
a trailing ampersand), it seems to accumulate large numbers of "defunct"
children.
Apparently the wait() call is only issued when waiting for a specific
process to complete - so if rc executes a trivial command in the foreground,
all the zombies finally get to die.
Would it be sensible to catch SIGCHLD for this - or would that invite
trouble with the signal-handling problems discussed last week? (I confess
I didn't really understand that thread.) Would it be better to just
wait() once for each prompt?
Donn Cave, University Computing Services, University of Washington
donn@cac.washington.edu
next reply other threads:[~1991-10-08 15:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1991-10-08 15:09 Donn Cave [this message]
1991-10-08 15:39 Byron Rakitzis
1992-01-12 20:12 Tore Morkemo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9110081509.AA00411@milton.u.washington.edu \
--to=donn@milton.u.washington.edu \
--cc=rc@archone.tamu.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).