Merge ~cjwatson/launchpad:charm-wsgi-worker-max-requests into launchpad:master
Proposed by
Colin Watson
Status: | Merged |
---|---|
Approved by: | Colin Watson |
Approved revision: | 9f1561a1e90f79be61335d2bc07443ead56206f3 |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~cjwatson/launchpad:charm-wsgi-worker-max-requests |
Merge into: | launchpad:master |
Diff against target: |
30 lines (+7/-1) 2 files modified
charm/launchpad-appserver/config.yaml (+6/-0) charm/launchpad-appserver/templates/gunicorn.conf.py.j2 (+1/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Guruprasad | Approve | ||
Nick Moffitt (community) | Approve | ||
Review via email: mp+441193@code.launchpad.net |
Commit message
charm: Reduce max_requests and make it configurable
Description of the change
Our Juju-deployed appservers currently have a little less memory than our bare-metal ones, so memory leaks cause a problem slightly earlier. Reduce the Gunicorn `max_requests` setting to cope with this, and make it configurable using `juju config`.
To post a comment you must log in.
I applied this temporarily to one appserver unit, and can confirm its effectiveness.