{"action":"created","issue":{"url":"https://api.github.com/repos/EUDAT-B2SHARE/b2share/issues/741","labels_url":"https://api.github.com/repos/EUDAT-B2SHARE/b2share/issues/741/labels{/name}","comments_url":"https://api.github.com/repos/EUDAT-B2SHARE/b2share/issues/741/comments","events_url":"https://api.github.com/repos/EUDAT-B2SHARE/b2share/issues/741/events","html_url":"https://github.com/EUDAT-B2SHARE/b2share/issues/741","id":100944195,"number":741,"title":"Lot of files in tmp dir CFG_TMPDIR","user":{"login":"dblommesteijn","id":395001,"avatar_url":"https://avatars.githubusercontent.com/u/395001?v=3","gravatar_id":"","url":"https://api.github.com/users/dblommesteijn","html_url":"https://github.com/dblommesteijn","followers_url":"https://api.github.com/users/dblommesteijn/followers","following_url":"https://api.github.com/users/dblommesteijn/following{/other_user}","gists_url":"https://api.github.com/users/dblommesteijn/gists{/gist_id}","starred_url":"https://api.github.com/users/dblommesteijn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dblommesteijn/subscriptions","organizations_url":"https://api.github.com/users/dblommesteijn/orgs","repos_url":"https://api.github.com/users/dblommesteijn/repos","events_url":"https://api.github.com/users/dblommesteijn/events{/privacy}","received_events_url":"https://api.github.com/users/dblommesteijn/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/EUDAT-B2SHARE/b2share/labels/Bug","name":"Bug","color":"fbca04"},{"url":"https://api.github.com/repos/EUDAT-B2SHARE/b2share/labels/Deployment","name":"Deployment","color":"207de5"},{"url":"https://api.github.com/repos/EUDAT-B2SHARE/b2share/labels/Invenio","name":"Invenio","color":"bfdadc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-14T06:24:13Z","updated_at":"2015-08-14T08:09:53Z","closed_at":null,"body":"I've been uploading a massive amount of files into b2share, now the server we have is running out of space due to temp files. These are stored in `.virtualenvs/b2sahre/var/tmp` via config setting `CFG_TMPDIR`. This seems like a bad place to store tmp files, why not use `/tmp` as a default? And why are these temp files created in the first place?"},"comment":{"url":"https://api.github.com/repos/EUDAT-B2SHARE/b2share/issues/comments/131013548","html_url":"https://github.com/EUDAT-B2SHARE/b2share/issues/741#issuecomment-131013548","issue_url":"https://api.github.com/repos/EUDAT-B2SHARE/b2share/issues/741","id":131013548,"user":{"login":"nharraud","id":5708796,"avatar_url":"https://avatars.githubusercontent.com/u/5708796?v=3","gravatar_id":"","url":"https://api.github.com/users/nharraud","html_url":"https://github.com/nharraud","followers_url":"https://api.github.com/users/nharraud/followers","following_url":"https://api.github.com/users/nharraud/following{/other_user}","gists_url":"https://api.github.com/users/nharraud/gists{/gist_id}","starred_url":"https://api.github.com/users/nharraud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nharraud/subscriptions","organizations_url":"https://api.github.com/users/nharraud/orgs","repos_url":"https://api.github.com/users/nharraud/repos","events_url":"https://api.github.com/users/nharraud/events{/privacy}","received_events_url":"https://api.github.com/users/nharraud/received_events","type":"User","site_admin":false},"created_at":"2015-08-14T08:09:53Z","updated_at":"2015-08-14T08:09:53Z","body":"Also it is never possible to be sure that you will not fill the disk by writing a file. Another process might be writing on the disk just after you checked the remaining free space."}}