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

Fix open file leak in Seed job #93

Merged

Conversation

stefanverhoeff
Copy link
Collaborator

The Seed job opens XML files but doesn’t close them properly.

The open file descriptors stick around even after the
files are deleted. This will eventually cause the OS
to hit the open file limit (ulimit) which freezes the
whole server.

This fix makes sure all XML file streams are closed.

The Seed job opens XML files but doesn’t close them properly.

The open file descriptors stick around even after the
files are deleted. This will eventually cause the OS
to hit the open file limit (ulimit) which freezes the
whole server.

This fix makes sure all XML file streams are closed.
@mnonnenmacher mnonnenmacher merged commit 2fb9526 into heremaps:master Jul 5, 2018
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

Successfully merging this pull request may close these issues.

2 participants