From: Bart Schaefer <schaefer@brasslantern.com>
To: chet.ramey@case.edu
Cc: zsh-users@zsh.org
Subject: Re: job control problem
Date: Wed, 07 Mar 2012 20:25:10 -0800 [thread overview]
Message-ID: <120307202510.ZM13097@torch.brasslantern.com> (raw)
In-Reply-To: <4F57B5BA.6060201@case.edu>
} > } Bash-4.2 will sleep for 1, 2, 4, then 8 seconds if a fork fails, trying
} > } after each sleep to reap dead children.
} >
} > Hmm, that seems like it could be a problem in some rare cases.
}
} What rare cases were you thinking of?
Any in which the shell is itself fork-bombing the system. Sure, you can
always work out a way to do so intentionally, but the shell retrying on
failure would seem to make it way too easy to do it accidentally.
next prev parent reply other threads:[~2012-03-08 4:26 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-06 10:01 hanpingtian
2012-03-07 5:46 ` Bart Schaefer
2012-03-07 13:45 ` Chet Ramey
2012-03-07 17:48 ` Bart Schaefer
2012-03-07 19:23 ` Chet Ramey
2012-03-08 4:25 ` Bart Schaefer [this message]
2012-03-07 9:16 ` hanpingtian
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=120307202510.ZM13097@torch.brasslantern.com \
--to=schaefer@brasslantern.com \
--cc=chet.ramey@case.edu \
--cc=zsh-users@zsh.org \
/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.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
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).