Sunday, 7 January 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:

Step-by-step OpenLDAP Installation and Configuration on server

This tutorial describes how to install and configure an OpenLDAP server and also an OpenLDAP client. Step by Step Installation and Conf...