Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
1123581321
on March 25, 2021
|
parent
|
context
|
favorite
| on:
All my servers have an 8 GB empty file on disk
This is clever. Our shaky version of this, historically, has been to run ncdu and hastily delete the first large log file we see. It’s not ideal.
sonicrocketman
on March 25, 2021
|
next
[–]
(that's actually how I solved the original issue that I reference in the post, and how I got the idea for this silly solution)
ttyprintk
on March 25, 2021
|
prev
|
next
[–]
The filesystems where headroom matters are var, tmp and sometimes root. I like this strategy with logfiles because nethack.log.gz.30 was approximately as important as empty space. Keeping another 8gb on root and tmp seems extreme.
kernelsanderz
on March 25, 2021
|
prev
[–]
ncdu saves my bacon at least every few months. I do machine learning and am always running out of space!
dylan604
on March 25, 2021
|
parent
[–]
sounds like your machine doesn't seem to be learning the right things.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: