linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* Confused: memory leak when writing out buffers in pre9?
@ 2000-06-02 15:21 Benjamin Redelings I
  0 siblings, 0 replies; only message in thread
From: Benjamin Redelings I @ 2000-06-02 15:21 UTC (permalink / raw)
  To: linux-mm

Hi, I haven't gotten a chance to try ac7 and Rik's latest patch yet. 
However, pre9 does pretty well except in one case that really puzzles
me.

Basically, when my system runs updatedb from cron, the 'used+shar' field
in xosview grows really huge.  But new programs aren't run!  I would
understand if the BUFFER section got huge,but thats not happening.

When I first start my computer (gnome + netscape), 'free' looks like
this:

             total       used       free     shared    buffers    
cached
Mem:         62740      61620       1120          0        436     
29896
-/+ buffers/cache:      31288      31452
Swap:       128484       3708     124776

(summary: 31288 used , 31452 free, 3708 swapp)

After find from updatedb runs for a while, it then looks like THIS:

             total       used       free     shared    buffers    
cached
Mem:         62740      61996        744          0       1116      
7812
-/+ buffers/cache:      53068       9672
Swap:       128484      24840     103644

(summary: 53068 used, 9672 free, 24840 swap)

So, after NOT running any new programs (except find, I suppose) 42 Mb of
SOMETHING is now in the 'used' section.  I'm guessing that this is the
dirty pages generated by updatedb - but why are they not in 'buffers'?

Thanks for any explanation :)  (BTW, why is 'shared' always 0?)

-BenRI
-- 
"I want to be in the light, as He is in the Light,
 I want to shine like the stars in the heavens." - DC Talk, "In the
Light"
Benjamin Redelings I      <><     http://www.bol.ucla.edu/~bredelin/
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-06-02 15:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-06-02 15:21 Confused: memory leak when writing out buffers in pre9? Benjamin Redelings I

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox