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
Will open an unbounded number of files, and keep them open #281
Comments
|
dulwich does not support git garbage collection or repacks AFAIK. I ran into the exact same issue and we ended up just putting a |
|
I think @inducer was talking about the python How many packfiles are we talking about? Please can you do I did some testing and the files do get closed when a But I can reproduce getting So given this, and for other performance reasons, I would also recommend running |
|
Note that pack files are now closed when they are no longer used; however, Dulwich doesn't yet repack automatically. |
|
See #296 for repack. I'll close this bug since the other file description issues are fixed. |
I use dulwich in a course management system, and as part of that use case, a user issues lots of tiny fetches, resulting in lots of tiny packfiles. It looks as though dulwich keeps all of these files open, as the server process will eventually run out of file descriptors--even if the corresponding
Repogets garbage-collected.I encountered this with 0.9.8. I'd much appreciate any help.
Thanks!
The text was updated successfully, but these errors were encountered: