From owner-freebsd-current Tue Nov 10 18:46:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA25725 for freebsd-current-outgoing; Tue, 10 Nov 1998 18:46:35 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from mail1.its.rpi.edu (mail1.its.rpi.edu [128.113.100.7]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA25720; Tue, 10 Nov 1998 18:46:31 -0800 (PST) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.acs.rpi.edu [128.113.24.47]) by mail1.its.rpi.edu (8.8.8/8.8.6) with ESMTP id VAA153568; Tue, 10 Nov 1998 21:47:08 -0500 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Sender: drosih@pop1.rpi.edu Message-Id: In-Reply-To: <4126.910720382@gjp.erols.com> References: Your message of "Tue, 10 Nov 1998 12:06:25 EST." Date: Tue, 10 Nov 1998 21:46:17 -0500 To: "Gary Palmer" From: Garance A Drosihn Subject: Re: The infamous dying daemons bug Cc: current@FreeBSD.ORG Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 12:53 PM -0500 11/10/98, Gary Palmer wrote: >Garance A Drosihn wrote in message ID >: >> Presumably the message is there to give advance warning about the >> usage of swap. A message that says "Hey, you're out of swap" just >> seconds before the machine completely dies is not quite as useful >> as one that tries to give you more advance notice (such that you >> could think about adding more swap space next weekend). > > Then I'd prefer to see a user-tunable setting which prints out a > kernel error when you reach a certain percentage of swap space > used. IMHO, in a server environment, that makes much more sense > as you want to keep everything possible in RAM, and using swap > (any swap) is a last resort. Thats certainly how I try to tune > my servers. Could that be handled by something that runs during the weekly system-checks? (the email that goes to root). I almost cobbled something together by checking the output of "top" for this, but in my case it isn't all that critical that no swap is used. (my machine has been up for two months without going to swap, but it is also configured with 400meg of swapspace "just in case"). A user-tunable setting for the kernel error message seems like a reasonable idea too, of course. --- Garance Alistair Drosehn = gad@eclipse.its.rpi.edu Senior Systems Programmer or drosih@rpi.edu Rensselaer Polytechnic Institute To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message