Re: Forking shell bombs

Riley Williams
2003-07-13T08:57:41Z

Hi all.

It sounds like what is required is some way of basically saying
"Don't permit new processes to be created if CPU usage > 75%"
(where the 75% is configurable but less than 100%).

Best wishes from Riley.
---
* Nothing as pretty as a smile, nothing as ugly as a frown.

> -----Original Message-----
> From: linux-kernel-owner@vger.kernel.org
> [mailto:linux-kernel-owner@vger.kernel.org]On Behalf Of David Ford
> Sent: Wednesday, July 09, 2003 4:08 PM
> To: Ryan Underwood
> Cc: linux-kernel@vger.kernel.org
> Subject: Re: Forking shell bombs
>
> No such thing exists. I can have 10,000 processes doing nothing and
> have a load average of 0.00. I can have 100 processes each sucking cpu
> as fast as the electrons flow and have a dead box.
>
> Learn how to manage resource limits and you can tuck another feather
> into your fledgeling sysadmin hat ;)
>
> david
>
> Ryan Underwood wrote:
>
>> Hi,
>>
>> On Tue, Jul 08, 2003 at 04:43:18PM -0400, jhigdon wrote:
>>
>>> Have you tried this on any 2.5.x kernels? Just curious to see what it
>>> does, I plan on giving it a go later.
>>
>> I haven't, but a previous poster indicated that they had (2.5.74) with
>> the same results.
>>
>> I wonder if we could find an upper limit on the number of allowable
>> processes that would leave the box in a workable state? Unfortunately,
>> I don't have a spare box to test such things on at the moment. ;)
>>
>> Thanks,

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.500 / Virus Database: 298 - Release Date: 10-Jul-2003