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

What is the different between limit_memory_hard and limit_memory_soft?

Please give me an example for 64GB RAM and 16 workers.

아바타
취소
베스트 답변
--limit-memory-soft <limit>

Maximum allowed virtual memory per worker. If the limit is exceeded, the worker is killed and recycled at the end of the current request.

Defaults to 2048MB.


--limit-memory-hard <limit>

Hard limit on virtual memory, any worker exceeding the limit will be immediately killed without waiting for the end of the current request processing.


Did you see these resources:

https://www.odoo.com/documentation/11.0/reference/cmdline.html#reference-cmdline

https://www.odoo.com/documentation/11.0/setup/deploy.html#id5


아바타
취소
베스트 답변

These values are per worker.

If you have limit-memory-hard set to 2 GB and you configure 8 workers Odoo could use until 2x8 = 16 GB.

아바타
취소
베스트 답변

Are these values shared by the system? i.e. if i have 16BG in the system and i assign 6 to limit-memory-soft and 6 to imit-memory-hard at a theoretical maximum load of soft and hard processes my system would be left with 4GB available? is it correct?
Thx in advance for the answer.

아바타
취소
관련 게시물 답글 화면 활동
2
12월 24
17312
0
3월 21
6378
1
8월 20
5398
2
1월 22
3201
1
10월 19
6046