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

Hello there,


I have a staging server running Odoo 16 with the below specs, I'm trying to add the proper configuration, because now whenever I do heavy processing on Odoo like importing 1000 lines, it crashes and reloads the whole thing automatically which makes it available for a few seconds. If anyone would help me with this it would be great!

Server specs:
1 GB RAM
1 vCPU

I tried, but didn't work:
[options]

limit_memory_hard = 1572864000 ; 1.5GB in bytes

limit_memory_soft = 1572864000 ; 1.5GB in bytes

limit_request = 8192

limit_time_cpu = 600

limit_time_real = 1200

max_cron_threads = 1

workers = 3 ; Number of workers based on CPU

Ảnh đại diện
Huỷ bỏ
Tác giả

Thats my mistake, I've been doing some testing on different configurations but I can't seem to make it work. Can you suggest a configuration that might work in my case?

FYI I'm using 2 vCPU and 1 GB ram now.

Câu trả lời hay nhất

The "limit" options are PER worker. You have 1GB RAM but are telling Odoo to use 3 x 1.5GB = 4.5GB RAM. 



Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 4 24
2917
3
thg 4 24
3349
3
thg 9 23
4924
1
thg 5 23
3871
0
thg 7 25
9141