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: Martin Olsson <mnemo@...>
Cc: Peter Zijlstra <peterz@...>, Dane Mutters <dmutters@...>, Alan Cox <alan@...>, <linux-kernel@...>
Date: Saturday, November 17, 2007 - 11:53 am

El Sat, 17 Nov 2007 09:42:51 -0800, Martin Olsson <mnemo@minimum.se> escribió:



I don't see why...OS X had a default limit of 100 processes per uid (increased
to 266 in 10.5) and "it works" (many people notices it, but it's not surprising
since the limit is too restrictive).

If you don't have limits, you can't avoid starvation easily. From my experience,
since I use CFS, fork/compile bombs (forgetting to put a number after make -j...)
are very sluggish mainly because the whole graphic subsystem is paged out.
-
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..., Diego Calleja, (Sat Nov 17, 11:53 am)
Re: Is it possible to give the user the option to cancel for..., Radoslaw Szkodzinski, (Fri Nov 23, 3:34 am)
speck-geostationary