Running Out of Disk Space in Production (alt-romes.github.io)

A server hosting large downloadable files on NixOS ran out of disk space after an nginx reverse-proxy misconfiguration under heavy traffic, causing access errors for users. The author fixed the temporary-file buffering behavior (disable proxy buffering and set proxy_max_temp_file_size to 0) and increased nginx’s proxy_max_temp_file_size to allow a 2.2GB download. In parallel, they moved the Nix store to a separate volume and cleared space, resolving both the outage and later storage spikes.

April 07, 2026 11:30 Source: Hacker News