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

Reply via email to