du and df reporting incorrect details
Posted: Mon Sep 24, 2012 10:14 am
After deleting certain files I could see that du and df are reporting incorrect details. Tried restarting the different services but it wont show correct details.
Solution :
If you want to check the specific partition you can grep the value say like, if you need to check /var do
MOSTLY it will be the below one thats causing the problem
Solution :
Delete the associated process ID and restart the service if required....that should fix the problem.ls -ld /proc/*/fd/* 2>&1 | fgrep '(deleted)'
If you want to check the specific partition you can grep the value say like, if you need to check /var do
NOTE :ls -ld /proc/*/fd/* 2>&1 | fgrep '(deleted)' | grep var
MOSTLY it will be the below one thats causing the problem
/usr/local/apache/logs/ssl_mutex