Re: Exaggerated swap usage

From: Dmitri (dmitri@users.sourceforge.net)
Date: Sat Nov 30 2002 - 02:08:53 EST


On Fri, 2002-11-29 at 22:49, Javier Marcet wrote:
> * khromy <khromy@lnuxlab.ath.cx> [021130 07:33]:
>
> >BTW, I'm running 2.4.20-rc4-ac1+preempt and it seems to run good but
> >whenever I leave for a few hours or wake up in the morning mozilla is
> >swaped out.. Any idea when/how this might be fixed?
>
> I have the problem without leaving it a few hours, but when I do it gets
> definitely worse. Last vmstat output I quoted here showed around 256MB
> swapped. A few hours later - the computer had been sitting idle, only
> the mail server for three users was running which poses no overhead at
> all -, the entire 512MB SWAP space was used. Why, I don't know.

As I saw the thread today, I started looking at it myself, on RH's
 2.4.18-18.8.0. By now I have:

 1 0 0 432892 23828 44648 407208 0 0 0 24 780 879 95 5 0
         ======

However, top says:

  PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND
 1450 dmitri 15 0 546M 178M 16212 S 1.1 23.6 21:50 pan

I close pan, and what a change!

 3 0 0 432664 20720 44748 410260 88 0 392 20 710 925 95 4 1
 1 0 0 46316 197172 44760 409684 40 0 40 160 782 1177 88 12 0

So you probably still have some process which is eating your memory. And
once you find it, restart it:

  PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND
 3994 dmitri 15 0 15044 14M 6152 S 0.9 1.9 0:00 pan

Dmitri



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



This archive was generated by hypermail 2b29 : Sat Nov 30 2002 - 22:00:24 EST