[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: wolverine kernel leaks


I know enough about the memory, buffers, and cache to know that these
should not increase or decrease that much over a relatively long period
of time in an idle system.

When first booted, my system baseline according to top looks like this:

Mem:   513404K av,   34456K used,  478916K free,       0K shrd,    5492K
Swap:  128512K av,       0K used,  128512K free                   15092K

After 1 min uptime, mem used inches upward to 34460K.  When I switch to
VC2, log in, then log back out, mem used increases to 34488K and stays
that way indefinitely.  When I then log into VC2 and VC3 then log out,
mem used increases to 34508K.

It would seem that each time I spawn an application like a login, memory
is being allocated but not returned to the system when those
applications are terminated.

An application that makes heavy use of buffers is the ftp client. When I
log onto VC2 and connect to a neighbor Guinness system, mem used jumps
to 35520K with 15340K cached. When I start a put transfer toward the
Guinness system, the amount of memory cached jumps to about 63000K while
the mem used starts increasing by about 1,000K per second. After
transferring only 48,562,176 bytes, halting the transfer, and logging
off VC2, top shows mem used grows to 87328K. Ten minutes later the mem
used and cached haven't changed.

If you have a particular sequence you would like for me to run and
report the results, I'll be happy to try. Based on what I've seen and
reported here, until convinced otherwise (to borrow a phrase) I think
SOMETHING in wolverine leaks.

--Doc Savage
  Fairview Heights, IL

Trond Eivind Glomsrød wrote:
> "Juha Saarinen" <juha saarinen org> writes:
> >:: Until convinced otherwise, I think this is a person not knowing how
> >:: memory, buffers and cache work in Linux. That almost nothing is marked
> >:: as "free" is normal and OK.
> >
> > OK, if you say so...
> >
> > [root vimfuego /root]# free
> >              total       used       free     shared    buffers     cached
> > Mem:        158904     155664       3240          0      11760     103288
> > -/+ buffers/cache:      40616     118288
> > Swap:       272120      83116     189004
> As you can see, it only uses 40 MB or so... the rest is buffers and cache.
> Which will be reclaimed when needed.
> --
> Trond Eivind Glomsrød
> Red Hat, Inc.
> _______________________________________________
> Wolverine-list mailing list
> Wolverine-list redhat com
> https://listman.redhat.com/mailman/listinfo/wolverine-list

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]