Sunday, January 7, 2018

Issue: Server disk consumption high but no consumption found on traversing the filesystem for usage



Description and Fix:-

Simply doing rm output.log removes only references to the file,
but it continues to occupy space on disk as it is still open in another process
and will not free up space until the concerned process is terminated.
But due to rm'ing, the file consuming the space won't be visible and neither we will get to know which process has opened it.

Below are some options to get the list of such files. 


lsof | grep deleted

lsof -nP | grep '(deleted)'

lsof -nP +L1 


check the concerned service and restart it.

No comments:

Post a Comment

TicTic v2.2 - Android media app for creating and sharing short videos

Facebook Twitter Tiktik – Android app for creating and sharing short videos. The customizable social video application to build ...

Popular Posts