Re: Posible memory leak!?

Denis Vlasenko (vda@port.imtp.ilyichevsk.odessa.ua)
Thu, 15 May 2003 08:51:42 +0300


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?

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

> while gkrellm reports that my RAM used is 95MB. now this is
> interesting....

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.

--
vda
-
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/