The server has 4 CPU cores.
How to allocate server processes, including 3 cores for major tasks (CRON) and allow one for the other traffic.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
Probably a bit late, but for others maybe. The subject is not well documented ... and this is for v7 (maybe also for older versions)
I just tried to allow more CPU cores to Openerp v7 and find only a few here : https://www.odoo.com/fr_FR/forum/help-1/question/is-openerp-6-0-wsgi-complaint-10657 and there : https://www.odoo.com/forum/help-1/question/difference-between-built-in-multiprocessor-mode-and-gunicorn-1671
You need to modify the config file (for debian like : /etc/openerp/openerp-server.conf) used at startup. Change "workers" value at 2*cores +1 . I had to modify "limit-time-cpu" to 3600 (1 hour) as long imports where failing with a "CPU time limit exceeded" error. I think this kind of file doesn't support comments, so I did copy the original before any modification. You need to restart the server with a "service restart openerp". That's all.
Enjoy
Updated : Also had to change "limit-time-real" to 3600 (I had undocumented errors - a thin rose line - while importing big files).
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
1
thg 1 24
|
2388 | ||
|
0
thg 4 22
|
4113 | ||
CPU time limit exceeded
Đã xử lý
|
|
1
thg 3 20
|
9160 | |
|
0
thg 1 17
|
4426 | ||
|
0
thg 12 15
|
4724 |