*BSD News Article 89288


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!cam-news-feed2.bbnplanet.com!sol.caps.maine.edu!discovery.umeres.maine.edu!tjevans
From: tjevans@raleigh.ibm.com
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: 2.2 GAMMA 2/5 results in SWAP FULL?
Date: Wed, 12 Feb 1997 11:30:31 -0500
Organization: University of Maine
Lines: 114
Sender: tjevans@raleigh.ibm.com
Message-ID: <msg3271.thr-4768ee00.55d4ac9@discovery.umeres.maine.edu>
References: <m267zzxceb.fsf@golfgod.raleigh.ibm.com> <5dqqo2$bhf@bofh.noc.best.net> <5dritf$a1j@dfw-ixnews8.ix.netcom.com> <3301E04A.41C67EA6@halcyon.com> <5dsr77$1o5a@rtpnews.raleigh.ibm.com>
NNTP-Posting-Host: discovery.umeres.maine.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 8bit
Content-ID: <msg3271.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:35545

>> After switching from Linux to FreeBSD :) I was surprised at the 
>> differences in swap sizes as well.  However I have found that 
>> FreeBSD when given a lot of swap space to work with is more
>responsive 
>> than Linux under the same conditions.  Some unices require more swap
>and
>> manage it better. The AIX CAD box I use at work has 128 Megs of ram
>and
>> 256 Megs of swap.
Well using "ps -aux", vmstat, pstat -s, this is the current picture, my
math tells me that there is either a memory leak or the kernel is not 
freeing up SWAP space. A 32 Meg machine with 17.5 Meg of swap space in
use...thats 50Meg, ok , where is it?

 procs   memory     page                    disks      faults      cpu
 r b w   avm   fre  flt  re  pi  po  fr  sr s0 s1 c0   in   sy  cs us
sy id
 0 0 02654440  5824    2   0   0   0   2   6  0  0  0  234  247  55  2 
1 97

Device      512-blocks     Used    Avail Capacity  Type
/dev/sd1s1b      40960    34992     5840    86%    Interleaved

USER       PID %CPU %MEM   VSZ  RSS  TT  STAT STARTED       TIME COMMAND
tjevans   1921  0.0  1.0   456  284  p0  R+    6:27AM    0:00.00 ps -aux
root         1  0.0  0.1   384   12  ??  Is   11:28AM    0:00.03
/sbin/init --
root         2  0.0  0.1     0   12  ??  DL   11:28AM    0:03.12 
(pagedaemon)
root         3  0.0  0.1     0   12  ??  DL   11:28AM    0:00.00 
(vmdaemon)
root         4  0.0  0.1     0   12  ??  DL   11:28AM    0:10.58 
(update)
root        76  0.0  0.8   196  248  ??  Is   11:30AM    0:00.71 syslogd
daemon      82  0.0  0.5   176  148  ??  Is   11:30AM    0:00.01 portmap
root        89  0.0  0.1   416   12  ??  Is   11:30AM    0:00.01 mountd
root        91  0.0  0.1   232   12  ??  Is   11:30AM    0:00.01 nfsd:
master (
root        93  0.0  0.1   224   12  ??  I    11:30AM    0:00.00 nfsd:
server (
root        94  0.0  0.1   224   12  ??  I    11:30AM    0:00.00 nfsd:
server (
root        95  0.0  0.1   224   12  ??  I    11:30AM    0:00.00 nfsd:
server (
root        96  0.0  0.1   224   12  ??  I    11:30AM    0:00.00 nfsd:
server (
root        97  0.0  0.5   176  148  ??  Is   11:30AM    0:00.00
rpc.statd
root       104  0.0  0.1   208   12  ??  I    11:30AM    0:00.00 nfsiod
-n 4
root       105  0.0  0.1   208   12  ??  I    11:30AM    0:00.00 nfsiod
-n 4
root       106  0.0  0.1   208   12  ??  I    11:30AM    0:00.00 nfsiod
-n 4
root       107  0.0  0.1   208   12  ??  I    11:30AM    0:00.00 nfsiod
-n 4
root       120  0.0  0.7   192  216  ??  Is   11:30AM    0:00.10 inetd
root       122  0.0  0.9   332  268  ??  Ss   11:30AM    0:01.33 cron
root       125  0.0  0.5   204  148  ??  Is   11:30AM    0:00.03 lpd
root       128  0.0  0.6   528  188  ??  Is   11:30AM    0:00.15
sendmail: acce
tjevans    186  0.0  0.8   872  232  v0  Is   11:30AM    0:00.26 -bash
(bash)
root       187  0.0  0.5   164  148  v1  Is+  11:30AM    0:00.02
/usr/libexec/g
root       188  0.0  0.5   164  148  v2  Is+  11:30AM    0:00.02
/usr/libexec/g
tjevans    192  0.0  1.1   172  324  v0  I+   11:31AM    0:00.06 xinit
-- -bpp 
root       193  0.7 17.9  4468 5448  ??  S    11:31AM   14:19.91 X :0
-bpp 16 (
tjevans    196  0.0  2.5   468  740  v0  I    11:31AM    0:10.41 fvwm2
tjevans    198  0.0  5.2  1288 1588  v0  S    11:31AM    4:26.86 xfmail
tjevans    199  0.0  3.9  1692 1192  v0  S    11:31AM    0:22.31
wish4.1 /usr/l
tjevans    200  0.0  2.1   204  648  v0  I    11:31AM    0:01.01 xclock
root       204  0.0  3.3   536  984  v0  R    11:31AM    0:04.39
/usr/X11/bin/x
tjevans    205  0.0  2.0   892  600  p0  Ss   11:31AM    0:01.01 -bash
(bash)
tjevans    207  0.0  9.6  7572 2928  v0  I    11:33AM    2:11.36
netscape
tjevans    230  0.0  4.9  2468 1476  v0  I    11:48AM    0:13.96 knews
tjevans    238  0.0  9.8  2892 2988  v0  I    11:49AM    0:21.11 emacs
-font -m
tjevans    239  0.0  0.8   188  236  ??  Is   11:49AM    0:00.03
/usr/local/lib
tjevans   1837  0.0  2.0   204  612  v0  I     5:57AM    0:00.23
/usr/X11R6/lib
tjevans   1916  0.0  0.6   476  184  ??  Is    6:25AM    0:00.01 sh -c
xterm -e
root      1917  0.0  5.5   460 1672  ??  I     6:25AM    0:00.33 xterm
-e emacs
tjevans   1918  0.0  1.5   216  440  p1  Is+   6:25AM    0:00.04
emacsclient +1
root         0  0.0  0.0     0    0  ??  DLs  11:28AM    0:00.16 
(swapper)

-- 
Tom Evans  tjevans@raleigh.ibm.com
Normal disclaimer applies...

From: tjevans@raleigh.ibm.com (Thomas Evans)
Date: 12 Feb 1997 16:30:31 GMT
Subject: Re: 2.2 GAMMA 2/5 results in SWAP FULL?
Message-ID: <5dsr77$1o5a@rtpnews.raleigh.ibm.com>
Path:
sol.caps.maine.edu!cam-news-feed2.bbnplanet.com!cam-news-hub1.bbnplanet.
com!su-news-hub1.bbnplanet.com!news.bbnplanet.com!arclight.uoregon.edu!h
ammer.uoregon.edu!zephyr.texoma.net!uunet!in3.uu.net!129.35.248.10!ausne
ws.austin.ibm.com!rtpnews.raleigh.ibm.com!news@rtpnews.raleigh.ibm.com
Organization: ISSC South Region, RTP, NC
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii