← Back to team overview

openerp-india team mailing list archive

[Bug 956550] [NEW] Fault state after update

 

Public bug reported:

After some updates (for example a -u all), the server enters in a state where refuses simoultaneous requests from web client.
In special, it seems that no database list could be obtained on login screen

Traceback:
Client Traceback (most recent call last):
  File "/home/openerp_user/openerp/desarrollo/client-web/addons/web/common/http.py", line 180, in dispatch
    response["result"] = method(controller, self, **self.params)
  File "/home/openerp_user/openerp/desarrollo/client-web/addons/web/controllers/main.py", line 1518, in load
    action_type = Actions.read([action_id], ['type'], context)
  File "/home/openerp_user/openerp/desarrollo/client-web/addons/web/common/openerplib/main.py", line 250, in proxy
    args, kw)
  File "/home/openerp_user/openerp/desarrollo/client-web/addons/web/common/openerplib/main.py", line 117, in proxy
    result = self.connector.send(self.service_name, method, *args)
  File "/home/openerp_user/openerp/desarrollo/client-web/addons/web/common/http.py", line 611, in send
    raise fault


Server Traceback (most recent call last):
  File "/home/openerp_user/openerp/desarrollo/client-web/addons/web/common/http.py", line 592, in send
    result = openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/home/openerp_user/openerp/desarrollo/server/openerp/netsvc.py", line 360, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/home/openerp_user/openerp/desarrollo/server/openerp/service/web_services.py", line 572, in dispatch
    res = fn(db, uid, *params)
  File "/home/openerp_user/openerp/desarrollo/server/openerp/osv/osv.py", line 167, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
  File "/home/openerp_user/openerp/desarrollo/server/openerp/osv/osv.py", line 121, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/openerp_user/openerp/desarrollo/server/openerp/osv/osv.py", line 171, in execute
    cr = pooler.get_db(db).cursor()
  File "/home/openerp_user/openerp/desarrollo/server/openerp/sql_db.py", line 465, in cursor
    return Cursor(self._pool, self.dbname, serialized=serialized)
  File "/home/openerp_user/openerp/desarrollo/server/openerp/sql_db.py", line 173, in __init__
    self._cnx = pool.borrow(dsn(dbname))
  File "/home/openerp_user/openerp/desarrollo/server/openerp/sql_db.py", line 366, in _locked
    return fun(self, *args, **kwargs)
  File "/home/openerp_user/openerp/desarrollo/server/openerp/sql_db.py", line 421, in borrow
    result = psycopg2.connect(dsn=dsn, connection_factory=PsycoConnection)
OperationalError: FATAL:  remaining connection slots are reserved for non-replication superuser connections

The only way to escape from this state is to restart the server. Not in all module updates this state is reached (it is not clear for me which are the critical ones)
I am using OpenERP v6.1, web UI, state from launchpad of 15/3/12

** Affects: openobject-server
     Importance: Undecided
         Status: New

-- 
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/956550

Title:
  Fault state after update

Status in OpenERP Server:
  New

Bug description:
  After some updates (for example a -u all), the server enters in a state where refuses simoultaneous requests from web client.
  In special, it seems that no database list could be obtained on login screen

  Traceback:
  Client Traceback (most recent call last):
    File "/home/openerp_user/openerp/desarrollo/client-web/addons/web/common/http.py", line 180, in dispatch
      response["result"] = method(controller, self, **self.params)
    File "/home/openerp_user/openerp/desarrollo/client-web/addons/web/controllers/main.py", line 1518, in load
      action_type = Actions.read([action_id], ['type'], context)
    File "/home/openerp_user/openerp/desarrollo/client-web/addons/web/common/openerplib/main.py", line 250, in proxy
      args, kw)
    File "/home/openerp_user/openerp/desarrollo/client-web/addons/web/common/openerplib/main.py", line 117, in proxy
      result = self.connector.send(self.service_name, method, *args)
    File "/home/openerp_user/openerp/desarrollo/client-web/addons/web/common/http.py", line 611, in send
      raise fault

  
  Server Traceback (most recent call last):
    File "/home/openerp_user/openerp/desarrollo/client-web/addons/web/common/http.py", line 592, in send
      result = openerp.netsvc.dispatch_rpc(service_name, method, args)
    File "/home/openerp_user/openerp/desarrollo/server/openerp/netsvc.py", line 360, in dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/home/openerp_user/openerp/desarrollo/server/openerp/service/web_services.py", line 572, in dispatch
      res = fn(db, uid, *params)
    File "/home/openerp_user/openerp/desarrollo/server/openerp/osv/osv.py", line 167, in execute_kw
      return self.execute(db, uid, obj, method, *args, **kw or {})
    File "/home/openerp_user/openerp/desarrollo/server/openerp/osv/osv.py", line 121, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/openerp_user/openerp/desarrollo/server/openerp/osv/osv.py", line 171, in execute
      cr = pooler.get_db(db).cursor()
    File "/home/openerp_user/openerp/desarrollo/server/openerp/sql_db.py", line 465, in cursor
      return Cursor(self._pool, self.dbname, serialized=serialized)
    File "/home/openerp_user/openerp/desarrollo/server/openerp/sql_db.py", line 173, in __init__
      self._cnx = pool.borrow(dsn(dbname))
    File "/home/openerp_user/openerp/desarrollo/server/openerp/sql_db.py", line 366, in _locked
      return fun(self, *args, **kwargs)
    File "/home/openerp_user/openerp/desarrollo/server/openerp/sql_db.py", line 421, in borrow
      result = psycopg2.connect(dsn=dsn, connection_factory=PsycoConnection)
  OperationalError: FATAL:  remaining connection slots are reserved for non-replication superuser connections

  The only way to escape from this state is to restart the server. Not in all module updates this state is reached (it is not clear for me which are the critical ones)
  I am using OpenERP v6.1, web UI, state from launchpad of 15/3/12

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


Follow ups

References