Forums

Storage usage not updating after deleting all files

Hi PythonAnywhere Support,

I have completely deleted all files from my account using:

rm -rf ~/venv ~/mysite ~/chrome ~/.cache ~/.local However, when I check my disk usage, it still shows 4.0T used in /home/gcastillo:

df -h ~ Filesystem Size Used Avail Use% Mounted on
10.0.0.254:/mnt/user_storage/homedirs/gcastillo/home/gcastillo 5.8T 4.0T 1.6T 72% /home/gcastillo
To confirm, I ran:

du -ah ~ | sort -rh | head -20 This command shows almost 0 KB of files, meaning that nothing large is left in my account.

I also tried syncing the system:

sync && sleep 3 && df -h ~ But the disk usage does not update.

Could you please force a storage quota recalculation for my account? It seems that my usage is not updating correctly after file deletions.

Thank you in advance for your help!

See https://help.pythonanywhere.com/pages/DiskQuota/