![]() If you do not know how many CPUs you have on your system, use the following grep command: Needed RAM = number_of_workers * ( (light_worker_ratio * light_worker_ram_estimation) + (heavy_worker_ratio * heavy_worker_ram_estimation) ) Heavy requests are using around 1 GB of RAM while the lighter ones are using around 150 MB of RAM We will consider that 20% of all requests are heavy requests, and 80% are lighter ones. Theoretical maximal number of worker = (system_cpus * 2) + 1 The number of workers is calculated based on the number of CPU cores in the system and the available RAM memory.Īccording to the official Odoo documentation to calculate the workers’ number and required RAM memory size, you can use the following formulas and assumptions: To enable multiprocessing you need to edit the Odoo configuration and set a non-zero number of worker processes. For production deployments, it is recommended to change to the multiprocessing server as it increases stability, and make better usage of the system resources. By default, Odoo is working in multithreading mode. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |