Skip to Content
Menu
This question has been flagged

Hello, I have the following case:


When sending multiple simultaneous GET requests to Odoo to download invoice PDFs, the system crashes. It takes more than a minute for as few as 20 requests, and while the process continues, Odoo itself is blocked by a 503 error. Even 2 simultaneous requests seem to trouble the system.


Despite this, Odoo seems to not be utilizing the resources provided in the container (the instance runs on Azure in a Kubernetes container).

Increasing workers alone did not help. On the contrary, the process tends to get even heavier with workers=7 as a test.

The process only seems to function properly when we set the workers=0, which is the exact opposite of the recommendations regarding asynchronous work of Odoo.



What may be probable causes for this behavior?


Odoo.conf:

    workers = 2 (every count of workers above 0 does not seem to work)

    max_cron_threads = 2

    limit_memory_soft = 2147483648

    limit_memory_hard = 2684354560

    limit_time_cpu = 180

    limit_time_real = 300

    db_maxconn = 50

    proxy_mode = True
Avatar
Discard
Related Posts Replies Views Activity
2
Sep 25
582
3
Aug 25
1450
3
Jul 25
922
2
Jul 25
1541
1
May 25
1179