Community mailing list archives

community@mail.odoo.com

Threads in OpenERP

by
Viktor Nagy
- 11/16/2014 07:54:21
I've OpenERP v7 running in wsgi mode with uwsgi.
It seems that for each request new threads are created by OpenERP, and these threads never exit and close their DB connections. As a result, after a while I end up with OperationalError: FATAL:  remaining connection slots are reserved for non-replication superuser connections

Have any of you noticed similar behaviour? Do you have an idea where to close the db connections/threads to avoid it?

Viktor