Tuesday, September 27, 2005

mySQL + Linux and kswapd

A few months ago we were told to turn off swap on our mysql servers. I just didn't feel right doing it, and I complained but I didn't come up with a compelling argument.
Now here it is


Linux VM sucks, even in 2.6 from RHEL 4. It just needs swap.

SO: put swap on the box and do.

echo 0 > /proc/sys/vm/swappiness


Post a Comment

<< Home