Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
15445 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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.


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 6 25
2
1
thg 1 22
2526
0
thg 11 21
3079
1
thg 7 21
2614
Odoo server Đã xử lý
3
thg 2 20
19515