Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
2 Vastaukset
7580 Näkymät

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

Avatar
Hylkää
Paras vastaus

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

Avatar
Hylkää
Paras vastaus

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

Perhaps two of them have crashed?

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
5
maalisk. 24
13317
1
heinäk. 23
1529
2
kesäk. 23
4095
1
toukok. 23
3584
2
marrask. 23
3109