From owner-freebsd-current Wed Jun 5 02:56:14 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id CAA07069 for current-outgoing; Wed, 5 Jun 1996 02:56:14 -0700 (PDT) Received: from diablo.ppp.de (diablo.ppp.de [193.141.101.34]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id CAA07039 for ; Wed, 5 Jun 1996 02:56:03 -0700 (PDT) Received: from allegro.lemis.de by diablo.ppp.de with smtp (Smail3.1.28.1 #1) id m0uRFJk-000QaPC; Wed, 5 Jun 96 11:55 MET DST From: grog@lemis.de (Greg Lehey) Organisation: LEMIS, Schellnhausen 2, 36325 Feldatal, Germany Phone: +49-6637-919123 Fax: +49-6637-919122 Received: (grog@localhost) by allegro.lemis.de (8.6.9/8.6.9) id KAA08033; Wed, 5 Jun 1996 10:53:51 +0200 Message-Id: <199606050853.KAA08033@allegro.lemis.de> Subject: Re: Vm fixes NG To: davidg@Root.COM Date: Wed, 5 Jun 1996 10:53:51 +0200 (MET DST) Cc: FreeBSD-current@FreeBSD.ORG (FreeBSD current users) In-Reply-To: <199606041834.LAA22540@Root.COM> from "David Greenman" at Jun 4, 96 11:34:49 am X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk David Greenman writes: > >> Another point of interest: this machine has 16 MB of memory and 32 MB >> swap, but lately when I build a kernel (with debug symbols) I get a >> number of >> >> Jun 4 12:27:25 freebie /kernel: swap_pager: out of swap space >> Jun 4 12:27:38 freebie /kernel: swap_pager: out of swap space >> >> I think these messages are bogus. I can build kernels on another >> machine (running -stable), with only 8 MB memory and 32 MB swap, and I >> don't have any trouble. Is there any way to monitor swap space usage? > > It sound like you don't have any swapspace configured. Look at the output > of pstat -s. Watch my lips: this machine has 16 MB of memory and 32 MB swap. Here's a pstat -s output: # pstat -s Device 1024-blocks Used Avail Capacity Type /dev/wd0s1b 32768 13740 18964 42% Interleaved # ps aux | awk ' {sum += $5 }; END {print sum}' 12636 OK, it's clear that the VSZ is only an approximation (John has already gone into more detail on that one), but there seems to be a *very* large discrepancy between the 12.6 MB VSZ and the 30 MB sum of main memory and used swap. I'd guess that the system is leaking swap somewhere. Greg