On Thu, 12 Jun 2014 14:44:35 +0800, "jinz...@wingtech.com" said:
> And use "top" command, show the memory has used 90%+, but the CPU just 1%+.

This is not indication of a problem - Linux will intentionally try to keep
potentially useful data cached in memory, so you should *normally* see
memory 90-95% full..

Oh, and your swapspace is probably *way* too big - 8G of RAM and 24G of swap
is just asking for trouble.  1G or 2G of swap is very useful to prevent
an OOM if you get close to your RAM limit.  But if you're dug much deeper
into swap, you're probably thrashing so hard that you'll actually wish
that you *did* OOM something and get control of your system back....

(And yes, there's times when 8G of RAM and 24G of swap makes sense.  That's
like 0.1% of the time, and if you're the admin of such a system, you
probably aren't the type that will ask questions on kernelnewbies. ;)

Attachment: pgprEIg972wze.pgp
Description: PGP signature

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to