Ir al contenido
Menú
Se marcó esta pregunta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
2
sept 25
577
3
ago 25
1443
3
jul 25
920
2
jul 25
1532
1
may 25
1173