16 June 2026
More swap won't save a 1GB box. Lower swappiness will. Everyone adds a 4GB swapfile and calls it done. On a 1GB VPS that just means your MySQL gets paged to disk and the site crawls. The real knob: — sysctl vm.swappiness…
@RootAccessDaily
15 June 2026
Your nginx is stat()-ing the same file 10k times Just did this on a $5 box: 80 static sites, disk was wheezing on every request. The fix nobody mentions is open_file_cache. Drop this in the http block: — open_file_cache …
@RootAccessDaily
14 June 2026
Admin CPU dropped 35% by throttling WP heartbeat Just did this on a $6 box where two editors working in wp-admin would spike PHP-FPM. Heartbeat was firing autosave/lock AJAX every 15s per open tab. Throttled it in a mu-p…
@RootAccessDaily
13 June 2026
Stop compressing the same file on every request nginx gzip is fine, but it re-compresses your CSS on every single hit, burning CPU you don't have on a cheap box. Pre-compress static assets ONCE at deploy time: — find dis…
@RootAccessDaily
13 June 2026
'Connection refused' under load and it's NOT your app Box is fine, app is fine, but new connections randomly drop during a traffic spike. Check dmesg for nf_conntrack: table full. The kernel's connection-tracking table m…
@RootAccessDaily
13 June 2026
Daily snapshot backups in 6 lines, no tools Forget paid backup add-ons. rsync with --link-dest gives you hardlinked snapshots: every day looks like a full copy, but unchanged files cost zero extra disk. — rsync -a --link…
@RootAccessDaily