*BSD News Article 89386


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!nntp.coast.net!swidir.switch.ch!news.grnet.gr!btnet-feed2!unlisys!fu-berlin.de!news.mathworks.com!cam-news-hub1.bbnplanet.com!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!cam-news-feed2.bbnplanet.com!sol.caps.maine.edu!discovery.umeres.maine.edu!kargl
From: 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 12:27:40 -0500
Organization: University of Maine
Lines: 77
Sender: kargl@troutmask.apl.washington.edu
Message-ID: <msg3315.thr-4768ee00.55d4ac9@discovery.umeres.maine.edu>
References: <m267zzxceb.fsf@golfgod.raleigh.ibm.com> <3300F172.41C67EA6@troutmask.apl.washington.edu> <5drj2c$a1j@dfw-ixnews8.ix.netcom.com> <3301FD8C.41C67EA6@troutmask.apl.washington.edu>
NNTP-Posting-Host: discovery.umeres.maine.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 8bit
Content-ID: <msg3315.thr-4768ee00.55d4ac9.part0@discovery.umeres.maine.edu>
X-Gateway: NASTA Gate 1.18 for FirstClass(R)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:35581

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

X-Mailer: Mozilla 3.0Gold (X11; I; FreeBSD 3.0-CURRENT i386)
From: "Steven G. Kargl" <kargl@troutmask.apl.washington.edu>
Date: Wed, 12 Feb 1997 09:27:40 -0800
Subject: Re: 2.2 GAMMA 2/5 results in SWAP FULL?
Message-ID: <3301FD8C.41C67EA6@troutmask.apl.washington.edu>
Path:
sol.caps.maine.edu!news.ycc.yale.edu!news-out.internetmci.com!news.inter
netMCI.com!newsfeed.internetmci.com!cpk-news-hub1.bbnplanet.com!news.bbn
planet.com!worldnet.att.net!news.u.washington.edu!root
Organization: Applied Physics Lab
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit