تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
127 أدوات العرض

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
الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
2
سبتمبر 25
587
3
أغسطس 25
1455
3
يوليو 25
922
2
يوليو 25
1547
1
مايو 25
1183