← Back to team overview

openerp-india team mailing list archive

[Bug 943794] Re: database creation issue when running with gunicorn

 

Gunicorn support (with more than 1 worker process) is unfortunately
limited to completely 'installed' databases. It is not possible to use
it to create a new database, or to update any data for which the server
has a local cache (e.g. record rules or translations).

We have a patch already available to coordinate the multiple processes
so that their state (model pool and caches) is kept in sync at
https://code.launchpad.net/~openerp-dev/openobject-server/trunk-
gunicorn-signaling-vmt

This also requires a little change change client-side to use a blocking
operation when creating a new database instead of a polling one (which
would hit different (not in sync) workers.

** Changed in: openobject-server
   Importance: Undecided => Wishlist

** Changed in: openobject-server
       Status: New => In Progress

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/943794

Title:
  database creation issue when running with gunicorn

Status in OpenERP Server:
  In Progress

Bug description:
  Hi,

  I face an database creation issue while launched with gunicorn. Please
  look at my attached image.

  Server Info:
  openerp-server: 6.1 rev 4086
  openerp-web: 6.1 rev 2244, operate in embedded mode
  gunicorn: 0.13.4

  Thanks,

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/943794/+subscriptions


References