Kallithea issues archive

Issue #186: Too many open files again

Reported by: domruf
State: new
Created on: 2016-01-14 15:37
Updated on: 2016-01-14 15:37

Description

I get "Too many open files" errors related to git/dulwich. The stacktrace suggest that it is a dulwich problem

...
    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?

Attachments

Comments