News for hackers. Stuff that matters.
Re:Fixing a Disk Space Alert at 3 AM by Maakuth on Monday July 13, 2015 @05:00AM (#9877051)
It is sometimes useful to keep around a 1-10GB 'ballast' file full of zero you can remove if you're in this kind of emergency. Tuning the root reserved space as mentioned in the article comments is another useful trick.
Re:Fixing a Disk Space Alert at 3 AM by michaelx386 on Monday July 13, 2015 @07:38AM (#9877459)
I love this ballast file idea. It reminds me of a programming story by Noel Llopis[0] where a game developer was working with a strict memory limit and placed static char buffer[1024 * 1024 * 2]; in the code as an insurance policy[1]:

[0] http://gamesfromwithin.com

[1] http://www.dodgycoder.net/2012/02/coding-tricks-of-game-deve...

Re:Fixing a Disk Space Alert at 3 AM by mcherm on Monday July 13, 2015 @10:58AM (#9878486)
Useful indeed. But it won't help in cases like this one where the problem was that a process was consuming disk at a prodigious rate.
Re:Fixing a Disk Space Alert at 3 AM by gojomo on Monday July 13, 2015 @03:48PM (#9880560)
...and of course make sure such file isn't 'sparse'.