Re: Posible memory leak!?

Boris Kurktchiev (techstuff@gmx.net)
Thu, 15 May 2003 10:24:36 -0400


On Thursday May 15 2003 1:51 am, Denis Vlasenko wrote:
> On 14 May 2003 17:12, Boris Kurktchiev wrote:
> > heh this is very interesting.... top b n1 reports this:
> > top - 10:08:24 up 16:36, 2 users, load average: 0.16, 0.19, 0.08
> > Tasks: 62 total, 1 running, 60 sleeping, 0 stopped, 1 zombie
> > Cpu(s): 12.3% user, 5.1% system, 0.0% nice, 82.6% idle
> > Mem: 385904k total, 381572k used, 4332k free, 137244k
> > buffers Swap: 128512k total, 20012k used, 108500k free,
> > 126168k cached
>
> Typical. So what makes you think kernel leaks memory?

well the fact that before my swap was never used, and now .... I need to
transcode something so I can show you how all swap is being used and non of
the RAM (thus making programs run much slower, as is the case with
transcode).

> BTW, which version of procps do you have? Mine is 2.0.10,
> 2.0.11 already exists.

I believe I have 2.0.10.

> gkrellm must be subtracting something from MemTotal trying
> to account for fact that large part of RAM is used as a cache.
> You may consult its source.

No... I forgot to tell it to count cache and buffers...
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/