Re: Linux memory usage & squid2

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 29 Dec 1998 21:27:15 +0100

Apiset Tananchai wrote:

> If I'm not wrong,
> Mem used = squid + cached + buffers + shared + other processes
> = 294640 + 95324 + 73364 + 26340 + ~20000
> = ~509668 (~mem used)

Actually you should subtract the amount of data swapped from that
figure, which shows a huge difference.

Something in your system is using a huge amount of memory. It isn't
Squid (294MB) and it isn't the disk cache (176MB).

> I've no idea why Linux swap that much. Do you have any suggestion?

Look at your process listing one more time.

ps -lax | head -1 ; ps lax | sort -r -n +5 | head -10
is one way to look at it..

If you find no process using that missing memory then you have a kernel
problem.

---
Henrik Nordstrom
Spare time Squid hacker
Received on Tue Dec 29 1998 - 13:23:58 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:43:45 MST