Turnip api server suffering from FD leaks
Bug #1683546 reported by
Thomas Cuthbert
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
turnip |
Fix Released
|
High
|
Thiago F. Pappacena |
Bug Description
We received pages that the git api service was returning http error 500s.
Upon closer inspection of the API logs we found the following:
https:/
It looks like the gunicorn server is leaking FD and the system is unable to open a handle to necessary files.
Restarting the api server clears the issue.
Related branches
~pappacena/turnip:fix-fd-leak
Merged
into
turnip:master
- Colin Watson (community): Approve
-
Diff: 177 lines (+18/-17)8 files modifiedhttpserver.tac (+1/-2)
packbackendserver.tac (+1/-2)
packfrontendserver.tac (+1/-2)
sshserver.tac (+1/-2)
turnip/api/views.py (+1/-2)
turnip/config.py (+11/-3)
turnipserver.py (+1/-2)
virtserver.tac (+1/-2)
Changed in turnip: | |
assignee: | nobody → Thiago F. Pappacena (pappacena) |
status: | Triaged → In Progress |
Changed in turnip: | |
status: | In Progress → Fix Committed |
Changed in turnip: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
In the past we've guessed that a libgit2 upgrade should help. I've been working on that today.