Sites are Down! Part 2: Practical Troubleshooting
TABLE OF CONTENTS Introduction Quick First Checks Services are down (MySQL, PHP, Nginx, OLS) Checking the Logs Critical Errors / 500 Errors Check top / htop for Load and CPU Steal MySQL/Database Checks Freeing Up Disk Space Server is Overloaded You’ve Been Hacked Introduction In part 1 of this article we took a broad look […]
Using the PHP Slow Log
Introduction PHP slow logging can be an extremely useful debugging tool for tracking down long-running requests that can lead to performance bottlenecks for your WordPress websites. By identifying the specific requests that are running slow, you can set about either fixing the code itself or replacing the plugin responsible for the bottleneck (it’s almost always […]
Using the MySQL Slow Log
Introduction MySQL slow query logging can be a highly useful tool for uncovering performance bottlenecks in your websites. The MySQL slow query log is where the MySQL database server will log all queries that exceed a time (in seconds) that you specify. This can be particularly helpful on database-intensive websites, such as WooCommerce stores, to […]