4 ms·
This sounds more like "The Hidden Dangers of Having Apache Configured to Use More Memory Than I Have Installed". It looks like the new theme caused each mod_ph
by rograndom 14y ago
This sounds more like "The Hidden Dangers of Having Apache Configured to Use More Memory Than I Have Installed".
It looks like the new theme caused each mod_php process to increase some amount, and that wasn't taken into consideration. Once the requests started piling up Apache started swapping, killing the server.
W3 Total Cache could've been installed to serve up cached static files direct from Apache, without spinning up PHP. All of the images could've been off loaded to cloud front or S3 or any other supported CDN to relieve that stress and W3 Total Cache also has a feature to combine all of your CSS and JS files into 1 to cut down on those requests as well.
You're running on a VPS, you should have some idea of how the system is setup and how memory is used. You've taken the time to setup the VPS and your rails apps, take 5 minutes to properly setup Apache and WordPress caching.