콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
9668 화면

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?


아바타
취소
베스트 답변

Hi Youta,

You cannot configure multiple works with just 1GB of RAM (and I believe that 1GB RAM is for both the OS & Odoo?) as it is simply not enough. Please have a look at the official documentation at https://www.odoo.com/documentation/11.0/setup/deploy.html#worker-number-calculation which explains how you should configure it and how to calculate it.

Regards,
Yenthe

아바타
취소
관련 게시물 답글 화면 활동
1
3월 18
6311
1
9월 19
3954
0
8월 24
2904
2
7월 22
9213
Bus Unavailable 해결 완료
6
2월 24
12976