DEV Community

Ghost file descriptors take over my machine.

Safia Abdalla on December 23, 2018

So, in the other blog post, I started explaining this issue that I ran into when I was running a build on a lerna repo. The issue was related to ha...
Collapse
 
zippy1981 profile image
Justin Dearing

I never had a problem this tricky, but over a decade ago when I was a unix admin one of the systems I was in charge of had really high /var usage. The funny thing was I could not get du and df to agree on disk usage. So there was some "super hidden" file taking up disk space that I could not delete.

Another admin found it, with fsck. Turns out I deleted a log file a few weeks back (also because of disk space issues), but the process still had the inode open and the log was not rotating or anything.