Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
7542 มุมมอง

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

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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

Perhaps two of them have crashed?

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
5
มี.ค. 24
13266
1
ก.ค. 23
1505
2
มิ.ย. 23
4060
1
พ.ค. 23
3532
2
พ.ย. 23
3062