Re: Exaggerated swap usage

From: Javier Marcet (jmarcet@pobox.com)
Date: Sat Nov 30 2002 - 09:05:09 EST


* Dmitri <dmitri@users.sourceforge.net> [021130 08:11]:
 
>> 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

This is not the problem in my case. It happens without any app getting
out of control in memory consumption, although with some kernel - don't
remember which one it was right now - X tend to show this, even killing
all the apps running. The only way to get back to normal memory usage
was re-starting the X server.

-- 
Javier Marcet <jmarcet@pobox.com>


- 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