Tips to Remedy and Prevent an Over-Quota Home Directory
Diagnosing the problem
First, check which storage area is over quota:
quota_display
This shows quotas for home space ($HOME), scratch space (/share/$GROUP), and usrapps space (/usr/local/usrapps/$GROUP). If your home space is at or near quota, find what is using the space:
cd $HOME du -h -d 1
This will show which directories are large. A common culprit is .cache, where pip and conda store temporary files during installation. The .cache directory can be safely deleted (verify you have not manually added your own files to it first).
To drill deeper into a large directory:
cd <large directory> du -h -d 1
Repeat as needed to find exactly what is consuming space.
After deleting unnecessary files, run quota_display again to confirm your home space is well within quota.
Preventing home directory from filling up again
- If you use conda and pip package managers, configure both to avoid using the home directory:
- conda: Follow directions under "Loading and Initializing Conda".
- pip: Follow directions under "Prevent pip and Python from filling up your home directory".
- Do not run jobs from your home directory. Use scratch space (
/share/$GROUP) instead. - Do not install software in your home directory. Use usrapps instead.