PHP 8.4 shipped in November 2024 and is now the default on Ubuntu 24.04 repositories and most 2026 managed images. The question for anyone running a small VPS is concrete:…
Read MoreTroubleshooting Playbook: Diagnosing 502 and 504 Gateway Errors on a VPS
A 502 means nginx reached the upstream but got a bad answer, or could not connect at all. A 504 means nginx gave up waiting for an answer. They look…
Read MoreTuning mysqldump and mariadb-dump for Large Databases on a Small VPS
A 12 GB database dumped with default settings will take hours, saturate every disk IOPS your VPS has, and produce an archive that no one has ever tested restoring. The…
Read MoreProfiling PHP-FPM Bottlenecks on a VPS: slowlog, strace, and Real Request Tracing
When a page takes 1.8 seconds and CPU sits at 40 percent, the problem is not capacity — it is latency somewhere in the request path. Guessing at it means…
Read MoreNginx Rate Limiting with limit_req: Protecting a Small VPS Without Blocking Real Users
A single PHP endpoint hit 300 times per second will exhaust a 1 vCPU VPS in under a minute. The usual reflex is to install a firewall rule or a…
Read Moreio_uring vs epoll on a Low-Core VPS: Cutting Syscall Overhead
For roughly two decades, Linux network servers have lived on epoll. It’s battle-tested, scales to hundreds of thousands of file descriptors, and every framework from nginx to Node.js is built…
Read MoreUsing systemd Slices to Cap Runaway Processes on a VPS
You’ve seen it: a runaway process eats all available CPU on your VPS, the load average spikes to 40, SSH becomes unresponsive, and the only fix is a hard reboot…
Read MoreTransparent Hugepages and Kernel Samepage Merging on a VPS: Latency Effects Measured
Two kernel memory features are enabled by default on most Linux distributions and quietly change latency characteristics in opposite directions. Transparent Hugepages (THP) reduces TLB misses by backing memory with…
Read MoreTime Synchronization on a VPS with chrony: Fixing Clock Drift Before It Breaks TLS and Databases
Clock drift is one of the few server problems that produces symptoms nowhere near its cause. A VM whose clock has drifted a few seconds can reject TLS connections, invalidate…
Read MoreMySQL Memory Trimming on a 1–2 GB VPS: A Budget You Can Actually Defend
A concrete memory budget for running MySQL or MariaDB on a 1–2 GB VPS: which buffers to shrink, which to leave alone, and how to verify the reduction on a live server.
Read More