Re: Posible memory leak!?

Denis Vlasenko (vda@port.imtp.ilyichevsk.odessa.ua)
Fri, 16 May 2003 11:48:07 +0300


On 15 May 2003 17:24, Boris Kurktchiev wrote:
> > 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).

Well there might be problems with kernel being too swap-happy.
I.e. it swaps out application pages but keeps less precious
cache pages. These problems are not that easy to debug
(How do one prove that kernel swaps out 'wrong' pages?
What is 'wrong'? It's kind of subjective).

> > 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.

No. 2.0.10 top printout look different:

11:44:00 up 1 day, 18:52, 1 user, load average: 0.25, 0.29, 0.23
63 processes: 60 sleeping, 3 running, 0 zombie, 0 stopped
CPU states: 41.8% user, 3.9% system, 0.0% nice, 0.0% iowait, 54.1% idle
Mem: 124616k av, 120448k used, 4168k free, 0k shrd, 4k buff
87172k active, 18536k inactive
Swap: 76792k av, 21820k used, 54972k free 55944k cached

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