From: David Newall <david@davidnewall.com>
To: Ubuntu@bugabundo.net, Ubuntu-reply@bugabundo.net,
ubuntu-devel-discuss@lists.ubuntu.com,
linux-kernel@vger.kernel.org
Subject: Re: Is it possible to give the user the option to cancel forkbombs?
Date: Thu, 22 Nov 2007 22:33:08 +1030 [thread overview]
Message-ID: <47456FFC.5090806@davidnewall.com> (raw)
In-Reply-To: <200711220005.32569.Ubuntu@bugabundo.net>
(``-_-´´) -- Fernando wrote:
> I used to see stuff like this happening on my University students test servers. Once they started doing forks inside for(;;), the server would go down.
> Then they replaced the servers by vwmare machines, and now reboots are faster.
>
UNIX (and Linux) already has a feature for use in case of forkbombs,
namely keeping a shell available, at a high priority, from which you
manage a wide range of undesired situations. There isn't, that I know
of, any program which responds to a magic key and does the work, but I
think it can be written without requiring any additional kernel support.
next prev parent reply other threads:[~2007-11-22 12:03 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-17 5:51 Is it possible to give the user the option to cancel forkbombs? Martin Olsson
2007-11-16 21:31 ` Alan Cox
2007-11-17 7:04 ` Martin Olsson
2007-11-16 23:46 ` Alan Cox
2007-11-17 6:45 ` Dane Mutters
2007-11-17 7:44 ` Peter Zijlstra
2007-11-17 10:39 ` Alan Cox
2007-11-17 13:36 ` Andi Kleen
2007-11-17 15:28 ` Herbert Xu
2007-11-17 17:42 ` Martin Olsson
2007-11-17 10:03 ` Peter Zijlstra
2007-11-17 15:53 ` Diego Calleja
2007-11-17 17:55 ` Dane Mutters
2007-11-23 7:34 ` Radoslaw Szkodzinski
2007-11-22 0:05 ` (``-_-´´) -- Fernando
2007-11-22 12:03 ` David Newall [this message]
2007-11-16 21:38 ` Diego Calleja
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=47456FFC.5090806@davidnewall.com \
--to=david@davidnewall.com \
--cc=Ubuntu-reply@bugabundo.net \
--cc=Ubuntu@bugabundo.net \
--cc=linux-kernel@vger.kernel.org \
--cc=ubuntu-devel-discuss@lists.ubuntu.com \
/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