From owner-freebsd-current Tue Nov 10 16:21:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA12144 for freebsd-current-outgoing; Tue, 10 Nov 1998 16:21:52 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from helios.dnttm.ru (dnttm-gw.rssi.ru [193.232.0.205]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA12128; Tue, 10 Nov 1998 16:21:40 -0800 (PST) (envelope-from dima@tejblum.dnttm.rssi.ru) Received: (from uucp@localhost) by helios.dnttm.ru (8.9.1/8.9.1/IP-3) with UUCP id CAA06970; Wed, 11 Nov 1998 02:53:28 +0300 Received: from tejblum.dnttm.rssi.ru (localhost [127.0.0.1]) by tejblum.dnttm.rssi.ru (8.9.1/8.9.1) with ESMTP id CAA02240; Wed, 11 Nov 1998 02:52:35 +0300 (MSK) (envelope-from dima@tejblum.dnttm.rssi.ru) Message-Id: <199811102352.CAA02240@tejblum.dnttm.rssi.ru> X-Mailer: exmh version 2.0gamma 1/27/96 To: Eivind Eklund cc: Gary Palmer , Alfred Perlstein , Phil Regnauld , alk@pobox.com, current@FreeBSD.ORG Subject: Re: The infamous dying daemons bug In-reply-to: Your message of "Tue, 10 Nov 1998 17:12:05 +0100." <19981110171205.19613@follo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 11 Nov 1998 02:52:35 +0300 From: Dmitrij Tejblum Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Eivind Eklund wrote: > > > /kernel: swap_pager: suggest more swap space: 254 MB > > > > John Dyson added this warning a few months ago, and the times that > > I've seen it are when the machine *just* starts hitting swap space, > > and is no-where near running out. No offense to John, but I don't > > think that whatever algorythm he uses in generating that message is > > anywhere near to being right, and I wonder what peoples opinions about > > either hiding it behind bootverbose or removing it are? > > Based on my reading of the code (and I don't fully understand the VM > code, so this may be a wrong analysis): > > That message seems to be very right. It seems to come when we get > into a 'memory overcommit' situation (ie, there isn't enough swap to > satify your memory use if you dirty all pages). It suggest adding > twice as much swap space as what we overcommit. I don't know what is 'overcommit'. Apparently, it is not measured anywhere. This message suggest you have swap space twice as much as your RAM (sounds familiar, eh?). It is printed when your free swap space is less than your RAM size. Apparently, this is also to warn you that system will try hard to keep swap free. This is done by the code I pointed to in my previous posting. IMHO, the limit for free swap space is too large. Dima To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message