New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Little disk issues. Any suggestion?
Hi,
I realized one day one of my server disk usage increased 120gb to 370gb. Then i run a complete ncdu , but ncdu showed for me overall disk usage is 120gb. Any where is the 250GB? Nodequery say disk usage 370GB and etc. MC says disk usage is 370GB. But if i actually check the disk ncdu or with others.. then overall disk usage is 120GB.
So.. any suggestion?... Secret files? Or what?.. I cant find which file could cause the problem.
Note: i completly disabled httpd log and redirected to /dev/null/
Thanks!
Peter
Comments
Are you running OpenVZ with ploop?
Its a dedicated server with online.net
interworx and cloudlinux and etc.
Sometimes removed or closed files may be open on the server and consume server disk space. ncdu command will not calculate that usage. a server reboot will fix this.
If you cant reboot the server try to find the high disk consuming process with the command "lsof" , try below one,
lsof |awk '{print $3" "$9}' | sort | uniq -c | sort -n
lsof | grep deleted