Issue #186: Too many open files again (conservancy/kallithea)
Dominik Ruf
issues-reply at bitbucket.org
Thu Jan 14 15:37:43 UTC 2016
New issue 186: Too many open files again
https://bitbucket.org/conservancy/kallithea/issues/186/too-many-open-files-again
Dominik Ruf:
I get "Too many open files" errors related to git/dulwich.
The stacktrace suggest that it is a dulwich problem
```
#!python
...
File "/home/kallithea/kallithea/kallithea/lib/vcs/backends/git/repository.py", line 75, in _repo
return Repo(self.path)
File "/home/kallithea/kallithea-venv/local/lib/python2.7/site-packages/dulwich-0.9.9-py2.7-linux-i686.egg/dulwich/repo.py", line 665, in __init__
graft_file = self.get_named_file(os.path.join("info", "grafts"))
File "/home/kallithea/kallithea-venv/local/lib/python2.7/site-packages/dulwich-0.9.9-py2.7-linux-i686.egg/dulwich/repo.py", line 706, in get_named_file
return open(os.path.join(self.controldir(), path), 'rb')
IOError: [Errno 24] Too many open files: '/home/kallithea/repos/kallithea/myrepo/info/grafts'
```
But since we use an old version 0.9.9 maybe it is already fixed in a new dulwich version.
So before reporting the problem to dulwich I wanted to try the new version.
Is there a specific reason why we use this old version?
More information about the kallithea-general
mailing list