All my servers have an 8 GB empty file on disk
A lot of tips in this thread are about how to better alert when you get low on disk space, how to recover, etc. but I&#x27;d like to highlight the statement: &quot;The disk filled up, and that&#x27;s one thing you don&#x27;t want on a Linux server—or a Mac for that matter. When the disk is full nothing good happens.&quot;<p>As developers, we need to be better at handling edge cases like out of disk space, out of memory, pegged bandwidth and pegged CPU. We typically see the bug in our triage queue and think in our minds &quot;Oh! out of disk space: Edge case. P3. Punt it to the backlog forever.&quot; This is how we get in this place where every tool in the toolbox simply stops working when there&#x27;s zero disk space.<p>Especially on today&#x27;s mobile devices, running out of disk space is common. I know people who install apps, use them, then uninstall them when they&#x27;re done, in order to save space, because their filesystem is choked with thousands of pictures and videos. It&#x27;s not an edge case anymore, and should not be treated as such.