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

Looking at the running processes on my Ubuntu server, I see there are 3 openerp-server processes active. Why does OpenERP start multiple processes?

I use this statement to see how many processes are active: pgrep -f openerp-server

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

OpenERP starts more than one process to handle multiple requests from multiple web clients and to run OpenERP cron jobs while simultaneously serving web clients. OpenERP v7, uses MultiCorn, and v6 uses Gnuicorn (both are WSGI compliant web servers) to pre fork the OpenERP processes. This improves performance on multi core servers. The number of worker process can specified by the following settings:

/etc/openerp-server.conf worker = [number of workers]

command line: --workers=[WORKERS] Specify the number of workers, 0 disable prefork mode

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

There should only be one, unless you are purposely running multiple OpenERP server processes.

Perhaps two of them have crashed?

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
5
thg 3 24
13269
1
thg 7 23
1507
2
thg 6 23
4060
1
thg 5 23
3535
2
thg 11 23
3064