From owner-freebsd-questions Wed Feb 12 06:57:49 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id GAA02237 for questions-outgoing; Wed, 12 Feb 1997 06:57:49 -0800 (PST) Received: from pompano.pcola.gulf.net (root@pompano.pcola.gulf.net [198.69.72.14]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id GAA02232 for ; Wed, 12 Feb 1997 06:57:45 -0800 (PST) Received: from pompano.pcola.gulf.net (spatula@localhost.gulf.net [127.0.0.1]) by pompano.pcola.gulf.net (8.8.5/8.7.3) with SMTP id IAA04866; Wed, 12 Feb 1997 08:56:35 -0600 (CST) Date: Wed, 12 Feb 1997 08:56:35 -0600 (CST) From: Prisoner X-Sender: spatula@pompano.pcola.gulf.net To: Snob Art Genre cc: freebsd-questions@FreeBSD.ORG Subject: Re: misc In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Wed, 12 Feb 1997, Snob Art Genre wrote: > narcissus% cat /usr/local/bin/foo > #!/bin/sh > foo > narcissus% > > This slowed my system to a crawl, filled up swap, and caused several > processes to die. The dead processes made X unhappy enough to lock up my > machine. Can anything be done (kernel config settings, etc.) to prevent > stuff like this from happening? Once, in an effort to try to crash my machine (while I was having page fault problems; I wanted another trace), I ran this script: #!/bin/bash spork & spork & spork I managed to get my system load up to 21.19 and fill up my process table, but the machine never crashed. I had to reboot because I couldn't fork a kill process. Nick -- The man who follows the crowd will usually get no further than the crowd. The man who walks alone is likely to find himself in places no one has ever been. -- Alan Ashley-Pitt Nick Johnson, with volterator. http://www.gulf.net/~spatula/