Skip to Content
Menu
This question has been flagged
1 Reply
2497 Views

2023-01-02 10:42:41,861 260688 INFO ? odoo.service.server: Worker (260688) exiting. request_count: 241, registry count: 2.
2023-01-02 10:42:41,866 260702 INFO ? odoo.service.server: Worker (260702) exiting. request_count: 233, registry count: 2.
2023-01-02 10:42:41,867 260703 INFO ? odoo.service.server: Worker (260703) exiting. request_count: 222, registry count: 2.
2023-01-02 10:42:41,870 260681 INFO ? odoo.service.server: Worker (260681) exiting. request_count: 242, registry count: 2.
2023-01-02 10:42:41,873 260706 INFO ? odoo.service.server: Worker (260706) exiting. request_count: 220, registry count: 2.
2023-01-02 10:42:41,862 260694 INFO ? odoo.service.server: Worker (260694) exiting. request_count: 239, registry count: 2.
2023-01-02 10:42:41,892 260684 INFO ? odoo.service.server: Worker (260684) exiting. request_count: 232, registry count: 2.
2023-01-02 10:42:41,894 260711 INFO ? odoo.service.server: Worker (260711) exiting. request_count: 462, registry count: 6.
2023-01-02 10:42:41,914 260687 INFO ? odoo.service.server: Worker (260687) exiting. request_count: 230, registry count: 2.
2023-01-02 10:42:41,909 260709 INFO ? odoo.service.server: Worker (260709) exiting. request_count: 408, registry count: 6.

odoo 14.0
cpu 6
ram 16


Avatar
Discard
Best Answer

If you have a VPS with 6 CPU cores and 16 GB of RAM, the number of workers should be 13 (CPU cores * 2 + 1), total limit-memory-soft value will be 640MB x 9 = 8320 MB , and total limit-memory-hard 768MB x 9 = 9984 MB, so Odoo will use maximum 10 GB of RAM.

You server is 6vCPUs so try the below in your config file:

limit_memory_hard = 640MB * 9 * 1024 * 1024 = 8724152320
limit_memory_soft = 768MB * 9 * 1024 * 1024 = 10468982784
max_cron_threads = 1
workers = 13

Avatar
Discard