5 ms·
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
by Maakuth 11y ago
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.
- michaelx386 11y agoI 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 http://gamesfromwithin.com [1] http://www.dodgycoder.net/2012/02/coding-tricks-of-game-developers.html http://www.dodgycoder.net/2012/02/coding-tricks-of-game-deve...
- mcherm 11y agoUseful 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.
- gojomo 11y ago...and of course make sure such file isn't 'sparse'.