*BSD News Article 89501


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!newsfeeds.sol.net!hammer.uoregon.edu!zephyr.texoma.net!uunet!in2.uu.net!130.105.1.137!towncrier.osf.org!freebase.osf.org!loverso
From: John Robert LoVerso <loverso@opengroup.org>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: (BUG in 2.2-BETA) Re: 2.2 GAMMA 2/5 results in SWAP FULL?
Date: 14 Feb 1997 13:58:06 GMT
Organization: Open Group Research Institute, Cambridge MA
Lines: 36
Message-ID: <5e1r1e$1u4$1@towncrier.osf.org>
References: <m267zzxceb.fsf@golfgod.raleigh.ibm.com> <5dritf$a1j@dfw-ixnews8.ix.netcom.com> <3301E04A.41C67EA6@halcyon.com> <5dsr77$1o5a@rtpnews.raleigh.ibm.com>
NNTP-Posting-Host: freebase.osf.org
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:35688

Here is a related bug I just noticed on a 2.2-BETA system:

freebase:~ 222 j$ vmstat   
 procs   memory     page                         faults      cpu 
 r b w   avm   fre  flt  re  pi  po  fr  sr s0   in   sy  cs us sy id
 0 0 0 19704  9544    5   0   0   0   2   1  0  239  235   9  0  0 99
freebase:~ 223 j$ ps aux   
USER       PID %CPU %MEM   VSZ  RSS  TT  STAT STARTED       TIME COMMAND 
loverso  23785  0.0  0.5   476  280  pa  R+    8:40AM    0:00.01 ps -aux
.
freebase:~ 224 j$ ps aux|tot
0.000000 605503.000000 0.100000 95.800000 63476.000000 60032.000000 0.000000 0.000000 1441.000000 22.000000 0.000000 0.000000 16.000000 0.000000 0.000000
freebase:~ 225 j$ vmstat   
 procs   memory     page                         faults      cpu 
 r b w   avm   fre  flt  re  pi  po  fr  sr s0   in   sy  cs us sy id
 0 0 04187500  9440    5   0   0   0   2   1  0  239  235   9  0  0 99

(tot is an awk script that sums columns)

Notice that once "ps" was run, the avm output from vmstat went from
19704 to 4187500.  That's slightly 8-} more pages than my system has.

From vmstat(1):

     memory  Information about the usage of virtual and real memory.  Virtual
             pages (reported in units of 1024 bytes) are considered active if
             they belong to processes which are running or have run in the
             last 20 seconds.

             avm     active virtual pages
             fre     size of the free list

The vmstat output continues to report such figures (and it has been far
more than 20 seconds since I ran "ps").

John