Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Leaking temporary files #42

Open
tlaundal opened this issue Sep 19, 2014 · 3 comments
Open

Leaking temporary files #42

tlaundal opened this issue Sep 19, 2014 · 3 comments

Comments

@tlaundal
Copy link
Collaborator

Spacegdn seems to be leaking tmp files.

I have verified that it is spacegdn that is leaking by looking at the user owning the tmp files, and when they were created. I have a cron task set up to load new builds each hour, and with / being 20GB, it quickly fills up with temporary files.

@connor4312
Copy link
Contributor

Can you look at those files and see what they appear to be?

@tlaundal
Copy link
Collaborator Author

There seem to be mostly Nginx 404 error pages and empty directory
structures.

One of the directories I found was: '
/tmp/tmpe_ga2ezu/Hexxit_Server_v2.0.0/Chocolate/Building/castles '

I think putting a try-finally around all uses of tmp files, and close them
in the finally block, might solve this problem.

@connor4312
Copy link
Contributor

I kinda want to rework the way modifications work to be a bit more unified, and readable. Might get that done this weekend :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants