我已经在google ubuntu上安装了odoo 13,服务器规范是10 GB内存。
2个vCPU和4GB内存
如何计算:
发布于 2021-06-09 17:37:45
看看文档,拇指的规则是。
Worker number calculation
Rule of thumb : (#CPU * 2) + 1
Cron workers need CPU
1 worker ~= 6 concurrent users
memory size calculation
We consider 20% of the requests are heavy requests, while 80% are simpler ones
A heavy worker, when all computed field are well designed, SQL requests are well designed, … is estimated to consume around 1GB of RAM
A lighter worker, in the same scenario, is estimated to consume around 150MB of RAM
Needed RAM = #worker * ( (light_worker_ratio * light_worker_ram_estimation) + (heavy_worker_ratio * heavy_worker_ram_estimation) )
但这些是一般情况下,你可能需要更少或更多。
在您的例子中,我会这样做,然后根据您的cron作业/请求进行改进。
Number of workers = 5
limit_memory_hard = defualt
limit_memory_soft = defualt
max_cron_threads = 2
https://stackoverflow.com/questions/67856497
复制相似问题