What is the different between limit_memory_hard and limit_memory_soft?
Please give me an example for 64GB RAM and 16 workers.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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.
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อRelated Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
---|---|---|---|---|
|
2
ธ.ค. 24
|
17291 | ||
|
0
มี.ค. 21
|
6367 | ||
odoo config with 1 gb ram VPS
แก้ไขแล้ว
|
|
1
ส.ค. 20
|
5392 | |
|
2
ม.ค. 22
|
3197 | ||
|
1
ต.ค. 19
|
6014 |