login
Header Space

 
 

Re: Is it possible to give the user the option to cancel forkbombs?

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <ubuntu-devel-discuss@...>
Cc: <linux-kernel@...>
Date: Wednesday, November 21, 2007 - 8:05 pm

On Saturday 17 November 2007 07:04:48 Martin Olsson wrote:
=20
=20

I used to see stuff like this happening on my University students test serv=
ers. Once they started doing forks inside for(;;), the server would go down.
Then they replaced the servers by vwmare machines, and now reboots are fast=
er.

But I would like to see installed by default some script like AND(Auto Nice=
 Daemon) or CpuLimit locking any and every process to a maximum of 90% afte=
r X seconds. That way one could allways launch a new command and kill it.
Of course, this is assuming that disk I/O is not our main prob, 'cause if t=
hat happens there's no way out.

=2D-=20
BUGabundo  :o)
(``-_-=C2=B4=C2=B4)	http://Ubuntu.BUGabundo.net
Linux user #443786    GPG key 1024D/A1784EBB
My new micro-blog @ http://BUGabundo.net
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Is it possible to give the user the option to cancel for..., (, (Wed Nov 21, 8:05 pm)
Re: Is it possible to give the user the option to cancel for..., Radoslaw Szkodzinski, (Fri Nov 23, 3:34 am)
speck-geostationary