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
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 2/11/14, 2:31 AM|
|Seen: 2197 times|
|Last updated: 3/16/15, 8:10 AM|