Originally Posted by farazinux
Restart service or program doesn't solve this problem. Some files which was deleted, is log of services!
The main problem is removing a file that is being used (kept open) by a program, which you shouldn't do.
You can do one of two things when you want to remove open file(s):
- stop the program, remove file and then start the program again,
- don't remove the file, but make it empty (> name.of.file
instead of rm name.of.file
I also noticed that restarting a service after removing an open file doesn't always free up the space. A reboot is the only thing you can do to solve that.