Board index DISK RELATED Incorrect disk usage

du and df reporting incorrect details

Postby a24uall » 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 :
ls -ld /proc/*/fd/* 2>&1 | fgrep '(deleted)'

Delete the associated process ID and restart the service if required....that should fix the problem.

If you want to check the specific partition you can grep the value say like, if you need to check /var do

ls -ld /proc/*/fd/* 2>&1 | fgrep '(deleted)' | grep var


NOTE :
MOSTLY it will be the below one thats causing the problem
/usr/local/apache/logs/ssl_mutex
Arun
WebhostingDevelopment.com
a24uall
Site Admin
 
Posts: 166
Joined: Sun Jul 01, 2012 9:07 am

Return to Incorrect disk usage

Who is online

Users browsing this forum: No registered users and 1 guest


cron