Re: Posible memory leak!?

Denis Vlasenko
2003-05-16T08:37:36Z

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