*BSD News Article 58105


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!paladin.american.edu!gatech!newsfeed.internetmci.com!EU.net!sun4nl!hgatenl.hobby.nl!compi.hobby.nl!plm
From: plm@compi.hobby.nl (Peter Mutsaers)
Subject: 2.1.0 uses lots of swap space
X-Newsreader: Gnus v5.1
X-Attribution: PLM
Sender: plm@compi.hobby.nl
Lines: 25
Organization: My Unorganized Home 
Message-ID: <87ybrnp2yy.fsf@compi.hobby.nl>
Date: Fri, 5 Jan 1996 06:31:17 GMT

Hello,

I'm wondering why FreeBSD 2.1.0 uses so much swap space. I'm plagued
by messages indicating I have no more virtual memory.

At the moment pstat -s reports that 15M swap space is in use. I have
16MB RAM, of which I estimate at least 14MB to be available. Top
reports that only 256KB RAM is free, so the total
amount of virtual memory used is 29MB.

Now when I add all VSZ's from ps -aux:

ps -aux | awk '{s+=$5}  END {print s}'

It shows that only 20.8M is used.

Where is the remaining 8MB gone to? Is it in use as filesystem cache,
or are there memory leaks somewhere?

By the way: Top says that I only have 400<B as filesystem cache at the
moment. Also, 2.3MB is "wired", whatever that may be.

Could anyone shed some light on this?

Thanks,
-- 
______________________________________________________________________
Peter Mutsaers       |  Bunnik (Ut),     |     "Quod licet bovis,
plm@compi.hobby.nl   |  the Netherlands  |      non licet Jovi."