Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
14869 Widoki

We have 3 instances in a single server with different ports (8069, 8040, 8060) and different Odoo version (10, 11, 12). Server specifications are 4 CPU and 8Go RAM.

We have an issue with Odoo 12 only, he crash sometimes. In the log, we have these lines : "virtual real time limit (181/120s) reached."

We tried many manipulations found on the web, like change memory limit, change number of workers... Nothing change. Moreover, when we activate workers, we have another issue : "raise Exception("Exception: bus.Bus unavailable")"

We delete configuration line about longpolling port too, nothing change.

Our Odoo configuration :



Our Nginx configuration :



How to configure the serveur for multi-instance ? When Odoo documentation give us a calculation method for memory, does it work for multi-instance too ?

Thank you

Awatar
Odrzuć
Najlepsza odpowiedź

By default limit-time-real is responsible for this issue as the default value is 120

You can set  the following parameter  on Odoo configuration file to number larger than 120 if the file your import file has large number of records.

e.g:

limit-time-real=600


Be aware that the default value protects odoo.service.server instance from being on hold for a long time thus consume server's resources.


Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
sty 22
2130
0
lis 21
2495
1
lip 21
2271
Odoo server Rozwiązane
3
lut 20
18587
3
gru 19
8123