Memory Usage Spaw Usage Swappiness Issues
Ok we moved 300 sites that we are hosting from a 3gig P4 HT machine to basically the same machine both with 1 gig of ram. First machine running Red Hat 9(kernel 2.4.20-16.9smp), second machine running Centos 4.2(kernel 2.6.9-22.0.1.ELsmp).
Basically on the first machine all ram would be used up (as desired) but on the second machine most of the ram appears to never be touched. As a result there appears to be lots of swapping and the load goes upto 5 to 10 and kswapd appears in top. Below is the top memory usage on our new server Code:
top - 14:23:58 up 7 days, 5:32, 5 users, load average: 0.77, 0.65, 0.74 |
i would say just off hand that that kernel is patched to the point of dysfunction.
|
i would say just off hand that that kernel is patched to the point of dysfunction. definitely build a new one (not using that same minor version source code). possibly the one from centOS 4.1
i saw a thread on webhostingtalk about exactly this with lots of other people reporting exactly the same awfull behaviour. |
Ok we upgraded to 2.6.15 and the problem looks totally resolved. We are now using 2452k of swap and not 1+ gig. So a kernel upgrade is recommended if you are having issues.
|
All times are GMT -5. The time now is 06:00 AM. |