Diagnosing a Slow VPS: htop, iotop, and vmstat Walkthrough

Diagnosing a slow VPS starts with one question: is the bottleneck CPU, memory, or disk? Guessing wrong wastes an afternoon tuning the wrong thing, and on a small server the three bottlenecks feel alike from the outside. A slow page can mean a busy CPU, a swapping database, or a disk that cannot keep up, … Baca Selengkapnya

MySQL 8.4 Tuning on a 2GB VPS: my.cnf Settings That Actually Help

This guide covers MySQL 8.4 tuning 2GB VPS owners can apply in one sitting, without copying a config written for a bigger server. A 2 GB VPS runs MySQL next to the OS, Nginx, and PHP-FPM, so every megabyte you give the database is one something else cannot use. The goal is not peak speed … Baca Selengkapnya