跳至内容
菜单
此问题已终结
2 回复
7569 查看

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?

形象
丢弃
相关帖文 回复 查看 活动
5
3月 24
13287
1
7月 23
1521
2
6月 23
4084
1
5月 23
3547
2
11月 23
3096