From: Valdis.Kletnieks@vt.edu (Valdis.Kletnieks at vt.edu) Date: Thu, 12 Jun 2014 12:26:59 -0400 Subject: ?ظ?: git download In-Reply-To: Your message of "Thu, 12 Jun 2014 14:44:35 +0800." <201406121444322328402@wingtech.com> References: <539937A3.1010206@cdac.in>, <201406121432235096070@wingtech.com> <201406121444322328402@wingtech.com> Message-ID: <6337.1402590419@turing-police.cc.vt.edu> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On Thu, 12 Jun 2014 14:44:35 +0800, "jinzhao at 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. ;) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 848 bytes Desc: not available Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140612/5bbe8428/attachment.bin