2013-04-09, 02:32 PM
I have a fairly good VPS - quad core, 2gb RAM, 50gb disk, all really fast but...
since I've switched to Debian and Lighttpd, we keep getting PHP and MySQL randomly hogging CPU and the whole machine grinding to a halt in a flood of processes (mostly php-cgi) and dying due to maxed out CPU.
We suspect it might be members searching through our 350mb database and/or configuration issues related to this. These queries seem to take between 10 and 45 seconds in the MySQL slow queries log, although the actual time for the search results to show is much quicker.
What should I do?
Thanks guys,
Tidal Wave
since I've switched to Debian and Lighttpd, we keep getting PHP and MySQL randomly hogging CPU and the whole machine grinding to a halt in a flood of processes (mostly php-cgi) and dying due to maxed out CPU.
We suspect it might be members searching through our 350mb database and/or configuration issues related to this. These queries seem to take between 10 and 45 seconds in the MySQL slow queries log, although the actual time for the search results to show is much quicker.
What should I do?
Thanks guys,
Tidal Wave