From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 7908 invoked from network); 8 Dec 1998 12:02:50 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 8 Dec 1998 12:02:50 -0000 Received: from loki.intrepid.net (mark@intrepid.net [204.71.127.3]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id GAA01096 for ; Tue, 8 Dec 1998 06:57:06 -0500 Received: (from mark@localhost) by loki.intrepid.net (8.8.5/8.8.5) id GAA07864 for axp-list@redhat.com; Tue, 8 Dec 1998 06:57:05 -0500 Message-ID: <19981208065705.B6961@intrepid.net> Date: Tue, 8 Dec 1998 06:57:05 -0500 From: Mark Conway Wirt To: axp-list@redhat.com Subject: Re: Swap/VM Question or "Cannot load interpreter" References: <199812071249.NAA05322@beta.mdy.univie.ac.at> <199812071501.KAA28223@adder.cs.Virginia.EDU> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2 In-Reply-To: <199812071501.KAA28223@adder.cs.Virginia.EDU>; from Greg Lindahl on Mon, Dec 07, 1998 at 10:01:47AM -0500 On Mon, Dec 07, 1998 at 10:01:47AM -0500, Greg Lindahl wrote: > > Is this the origin of the > > rule of the thumb that swap space ought to be at least twice the size > > of RAM? > > No. On other Unix versions, all pages must have a disk page for every > memory page. This isn't true for Linux. The behavior you describe is a > bug. It's not a bug that your swap gets used -- the kernel is just > trying to keep the free list big by speculatively writing out dirty > data pages to disk. But then that there is resource exhaustion is a > bug. However, the symptom you see may still not help identify the > problem. Also, if it's a bug (and I think it is), it's not only the Alpha kernel: I saw the same behaviour on a pentium running 2.0.34 the other day.... --Mark