Forums

Disk Quota exceeded and files in .virtualenvs and cache-directory

Our application has the 5GB quota and is currently full. du -hs shows 1.4G used by .virtualenvs and 1.5G by cache-directory.

  1. Can all the files in cache-directory be deleted?
  2. Which of the virtual envs need to be kept for the application to run?
  1. Probably
  2. The ones that your app uses

@glenn Thank you for your reply. My application uses /home/mober/.virtualenvs/mobervenv. Below are the directories under /home/mober/.virtualenvs/. Can every other directory but mobervenv be deleted? And out of curiousity, what process is creating the other directories?

21:27 ~/.virtualenvs $ ls -l
total 52
-rwxr-xr-x 1 mober registered_users  133 Sep 30  2022 get_env_details
-rw-r--r-- 1 mober registered_users   94 Sep 30  2022 initialize
drwxrwxr-x 7 mober registered_users 4096 Sep 30  2022 mobervenv
-rw-r--r-- 1 mober registered_users   71 Sep 30  2022 postactivate
-rw-r--r-- 1 mober registered_users   73 Sep 30  2022 postdeactivate
-rwxr-xr-x 1 mober registered_users   64 Sep 30  2022 postmkproject
-rw-r--r-- 1 mober registered_users   71 Sep 30  2022 postmkvirtualenv
-rwxr-xr-x 1 mober registered_users  108 Sep 30  2022 postrmvirtualenv
-rwxr-xr-x 1 mober registered_users   97 Sep 30  2022 preactivate
-rw-r--r-- 1 mober registered_users   74 Sep 30  2022 predeactivate
-rwxr-xr-x 1 mober registered_users   89 Sep 30  2022 premkproject
-rwxr-xr-x 1 mober registered_users  128 Sep 30  2022 premkvirtualenv
-rwxr-xr-x 1 mober registered_users  109 Sep 30  2022 prermvirtualenv

There is only one directory there (mobervenv) The other files are used by the virtualenv system and that will probably break if you delete them