Re: Exaggerated swap usage

Andrew Morton
2002-11-30T02:55:20Z

Zwane Mwaikambo wrote:
>
> Hmm i'm using 2.4.19-rmap15

Don't think so.

>
> total: used: free: shared: buffers: cached:
> Mem: 525332480 522969088 2363392 0 10117120 365477888
> Swap: 2154938368 873652224 1281286144
> MemTotal: 513020 kB
> MemFree: 2308 kB
> MemShared: 0 kB
> Buffers: 9880 kB
> Cached: 282768 kB
> SwapCached: 74144 kB
> Active: 273452 kB
> Inactive: 194068 kB
> HighTotal: 0 kB
> HighFree: 0 kB
> LowTotal: 513020 kB
> LowFree: 2308 kB
> SwapTotal: 2104432 kB
> SwapFree: 1251256 kB

That's stock 2.4 meminfo output.

- "Inactive: %8u kB\n"
+ "Inact_dirty: %8u kB\n"
+ "Inact_laundry:%8u kB\n"
+ "Inact_clean: %8u kB\n"
+ "Inact_target: %8lu kB\n"

You're using an extraordinary amount of swap. Is something leaking?