Hiya 
A few weeks ago my VPS crashed after running fine for over a year. Since the reboot i have had some serious speed issues as detailed below.

Before the crash commit memory was reasonable and swap usage was very low. Cache memory looks like it was working correctly and all the sites were very fast. You can see in "Week 11" that the "unsued memory" is now at ~250MB and swap usage has gone through the roof.
Most of the swap seems to be used by mysql, and sites that use the database mostly Zen Cart's and Joomla install really slow down after a few days.
CPU cycles are not the issue, its the iowait due to mysql using the swap file. Any advice on how to:
1. keey mysql out of the swap ?
2. Get the cache working again ?
I stress that i made no configuration changes until week 12
Thanks, Lee.
A few weeks ago my VPS crashed after running fine for over a year. Since the reboot i have had some serious speed issues as detailed below.

Before the crash commit memory was reasonable and swap usage was very low. Cache memory looks like it was working correctly and all the sites were very fast. You can see in "Week 11" that the "unsued memory" is now at ~250MB and swap usage has gone through the roof.
Most of the swap seems to be used by mysql, and sites that use the database mostly Zen Cart's and Joomla install really slow down after a few days.
CPU cycles are not the issue, its the iowait due to mysql using the swap file. Any advice on how to:
1. keey mysql out of the swap ?
2. Get the cache working again ?
I stress that i made no configuration changes until week 12
Thanks, Lee.