Deleting a large file does not free up space

Solution 1:

The file is still in use by one (or more) process(es). The space occupied by the file will only be released if no processes have the file open.

This is a common gotcha with log files that are filling up a filesystem, when the administrator forgets to restart the accompanying process.

You can check this with lsof | grep DEL

Solution 2:

I have resolved this by the following steps

#lsof +L1

Which will show the list of files that holding memory with deleted quote.

Note the pid ( Process id ) of the file

Kill the process

#kill <pid>

The memory will be released by the process

Check it by command

#df -h