When 512 worker_connections were not enough

One recent morning I opened speed.packetlog.org in a browser to check something and got a 502 Bad Gateway. That is how I found out I had been slowly strangling my own Nginx. First guesses, mostly wrong My first thought was memory. The VPS is small, and I had added a couple of things since the last retrospective, so I assumed something was leaking. free -m showed nothing unusual. Not memory. ...

April 16, 2026 · 4 min · Martin Lindqvist

Monitoring server uptime with free tools

Knowing when your server is down before your users do is the bare minimum of responsible self-hosting. I have tried several monitoring approaches and settled on a setup that is simple, free, and has been reliable for months. Uptime Kuma Uptime Kuma is the core of my monitoring stack. It is a self-hosted monitoring tool that checks HTTP endpoints, TCP ports, DNS records, and ping targets at configurable intervals. Installation is one Docker command: ...

February 15, 2026 · 4 min · Martin Lindqvist