Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
15012 Zobrazení

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

Avatar
Zrušit
Nejlepší odpověď

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.


Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
led 22
2275
0
lis 21
2716
1
čvc 21
2378
Odoo server Vyřešeno
3
úno 20
18772
3
pro 19
8318