[Gunicorn] option to preload databases
Bug #1222116 reported by
Georges Racinet
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenERP buildout recipe |
Fix Released
|
High
|
Unassigned |
Bug Description
With the current Gunicorn python configuration file produced by the recipe, the worker processes load the database lazily, at the first request.
While this is interesting for some usage profiles, e.g, if there are many sleeping databases and workers restart frequently enough, this will avoid filling the server's RAM for nothing, it can be very annoying for some others (the DB opening sequence is slow and stressful for the DB server).
We need a new option "gunicorn.
To avoid duplication with "options.db_name", users can use variables in their cfg file, if they like.
Related branches
Changed in anybox.recipe.openerp: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Need this about now