Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Mar 1999 18:01:28 -0600 (CST)
From:      Christopher Palmer <cpalmer@jig.ordway.org>
To:        Rahul Dhesi <dhesi@rahul.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Out of Swap Space hangs system 
Message-ID:  <Pine.BSF.4.10.9903241800370.2536-100000@jig.ordway.org>
In-Reply-To: <199903232317.AA25480@waltz.rahul.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 23 Mar 1999, Rahul Dhesi wrote:

> >By all means provide an algorithm to solve it, if it concerns
> >you.  I think you'll find it's non-trivial.
> 
> Here's one possible algorithm, in pseudo-perl:
> 
>    for $pid (@all_active_pids) {
>       $critical_system_process{$pid} && next;
>       &kill($pid);
>       &got_enough_swap() && last;
>    }

That's a workaround, not a solution. Limiting the amount of virtual
memory users are alotted is an already-implemented workaround.


Christopher Palmer
Assistant Systems Administrator, Ordway Music Theatre
cpalmer@jig.ordway.org



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9903241800370.2536-100000>