Hello there, I'm using Odoo V11 with Nginx reverse proxy.
From time to time I get the following error
2018-03-05 12:33:15,504 6967 ERROR ? odoo.service.server: Worker (6967) Exception occured, exiting...
Traceback (most recent call last):
File "/home/odoo/odoo-server/odoo/service/server.py", line 743, in run
self.process_work()
File "/home/odoo/odoo-server/odoo/service/server.py", line 820, in process_work
db_names = self._db_list()
File "/home/odoo/odoo-server/odoo/service/server.py", line 813, in _db_list
db_names = odoo.service.db.list_dbs(True)
File "/home/odoo/odoo-server/odoo/service/db.py", line 366, in list_dbs
with closing(db.cursor()) as cr:
File "/home/odoo/odoo-server/odoo/sql_db.py", line 634, in cursor
return Cursor(self.__pool, self.dbname, self.dsn, serialized=serialized)
File "/home/odoo/odoo-server/odoo/sql_db.py", line 178, in __init__
self._cnx = pool.borrow(dsn)
File "/home/odoo/odoo-server/odoo/sql_db.py", line 517, in _locked
return fun(self, *args, **kwargs)
File "/home/odoo/odoo-server/odoo/sql_db.py", line 585, in borrow
**connection_info)
File "/usr/local/lib/python3.5/dist-packages/psycopg2/__init__.py", line 130, in connect
conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
psycopg2.OperationalError: could not fork new process for connection: Cannot allocate memory
could not fork new process for connection: Cannot allocate memory
The server specs I used to implement Odoo are:
1CPU, 1GRAM
In my configuration file, I set workers=3
Anyone know what does this error mean, and how to fix it?
Is something wrong in my configuration?