Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!uunet!in2.uu.net!128.230.129.106!news.maxwell.syr.edu!worldnet.att.net!news.u.washington.edu!root From: "Steven G. Kargl" <kargl@troutmask.apl.washington.edu> Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: 2.2 GAMMA 2/5 results in SWAP FULL? Date: Wed, 12 Feb 1997 09:27:40 -0800 Organization: Applied Physics Lab Lines: 62 Message-ID: <3301FD8C.41C67EA6@troutmask.apl.washington.edu> References: <m267zzxceb.fsf@golfgod.raleigh.ibm.com> <3300F172.41C67EA6@troutmask.apl.washington.edu> <5drj2c$a1j@dfw-ixnews8.ix.netcom.com> NNTP-Posting-Host: troutmask.apl.washington.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.0Gold (X11; I; FreeBSD 3.0-CURRENT i386) Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:35375 Netcom user wrote: > > > I'm not surprised that your swap space becomes full with a ratio of > > 32M real to 20M swap (especially if you are running X11). Without > > starting a religion war, I recommend a minimum of 2 times real > > memory for swap space. > Obviously I'm going to have to get top working as I refuse to accept that > without knowing WHERE/HOW my memory is being used. > Regards, > -- > Tom Evans tjevans@hotmail.com AFAIK, top works just fine. last pid: 29263; load averages: 0.66, 0.56, 0.61 09:18:24 60 processes: 3 running, 57 sleeping CPU states: 5.5% user, 0.0% nice, 2.7% system, 0.5% interrupt, 91.2% idle Mem: 14M Active, 3372K Inact, 9168K Wired, 3496K Cache, 3560K Buf, 492K Free Swap: 128M Total, 28M Used, 100M Free, 22% Inuse PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 14759 kargl 30 0 6024K 5704K RUN 25.1H 9.96% 9.96% XF86_S3 29257 kargl 2 0 7344K 4720K select 0:09 1.56% 1.56% netscape 29263 kargl 29 0 320K 804K RUN 0:00 4.40% 0.42% top 14765 kargl 2 0 1700K 256K select 28:46 0.04% 0.04% xfishtank 14772 kargl 28 0 640K 692K RUN 0:02 0.04% 0.04% xterm % ftp ftp.freebsd.org ftp> cd pub/FreeBSD/ports-2.1.6/sysutils ftp> bin ftp> get top.tar.gz ftp> quit % tar zxf top.tar.gz % cd top % make all && make install You don't indicate which version of FreeBSD you are using, so I assume it is 2.1.6. You may need to change ports-2.1.6 to something more appropriate above. I have 32 MB real memory and 128MB of swap. Someday, I will upgrade to 64MB of real memory. If you refuse to give FreeBSD a proper amount of default swap space, then I suggest the you read vnconfig(8). If you want to learn how swap space works under FreeBSD, get the new Demon book by McKusisk et al. -- Steve finger kargl@troutmask.apl.washington.edu http://troutmask.apl.washington.edu/~kargl/sgk.html