From owner-freebsd-current Sun Dec 27 14:48:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA12077 for freebsd-current-outgoing; Sun, 27 Dec 1998 14:48:22 -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 OAA12058 for ; Sun, 27 Dec 1998 14:48:19 -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 BAA14946; Mon, 28 Dec 1998 01:19:36 +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 BAA00733; Mon, 28 Dec 1998 01:22:33 +0300 (MSK) (envelope-from dima@tejblum.dnttm.rssi.ru) Message-Id: <199812272222.BAA00733@tejblum.dnttm.rssi.ru> X-Mailer: exmh version 2.0gamma 1/27/96 To: garman@earthling.net cc: current@FreeBSD.ORG Subject: Re: PR filed on dying daemons bug In-reply-to: Your message of "Sun, 27 Dec 1998 01:10:03 EST." <199812270610.WAA15223@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 28 Dec 1998 01:22:33 +0300 From: Dmitrij Tejblum Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I upgraded to a recent -current (as of two days ago) and found the > dying daemons bug still exists :( > > I filed a PR on the subject since I couldn't find another which already > addressed the issue. It's kern/9195. I'm more than willing to give > people accounts, test patches, etc for the cause of trying to fix this > bug, as myself as well as many others are still experiencing it on a > regular basis. I once suggested this patch: --- sys/vm/swap_pager.c Mon Dec 28 00:21:12 1998 +++ sys/vm/swap_pager.c Mon Dec 28 00:21:52 1998 @@ -1130,4 +1130,5 @@ swap_pager_getpages(object, m, count, re m[reqpage]->object->last_read = m[count-1]->pindex; +#if 0 /* * If we're out of swap space, then attempt to free @@ -1144,4 +1145,5 @@ swap_pager_getpages(object, m, count, re m[0]->pindex + paging_offset, count); } +#endif } else { I remember 1 positive response on it, and 0 negative responses. Feel free to try this patch. As a side note, IMO the code (that the patch ifdef out) is not a very good idea, whether it is related to the "daemon dying" bug or not. There is usually some amount of allocated but unused swap space (20-50%, I think), and this space apparently left allocated but unused forever, and the code free used swap space instead.... Dima To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message