> Hi,
>
> I'm running OpenERP/Odoo (version 7) with uwsgi.
>
> The emperor uwsgi is started by supervisord.
> This is the vassals ini file:
>
> [uwsgi]
> socket = 127.0.0.1:9090
> module = wsgi:application
> chdir = /home/openerp/v7_openerp
> home = /home/openerp/.virtualenvs/v7_openerp
> ;pythonpath =
> /home/openerp/.virtualenvs/v7_openerp/lib/python2.7/site-packages
> env = OPENERP_CONFIGRC=/home/openerp/etc/v7_openerp_rc
> processes = 2
> threads = 1
> enable-thread = true
> memory-report = true
> stats = 127.0.0.1:9191
> vacuum = True
> master-fifo = /tmp/uwsgi.v7.fifo
> lazy-apps = true
> uid = openerp
> gid = openerp
>
> As expected uwsgitop shows 2 nodes. This stays as is.
>
> If I open htop, and filter on the uwsgi processes for v7_openerp, I see 3
> processes. Two of these have the process numbers shown under uwsgitop, the
> third is mysterious to me.



its the master

>
> After the first request another 13 uwsgi vassal processes show up in htop,
> but not in uwsgitop. The number of uwsgi processes increases with each
> request.
>


i do not think this is something related to uWSGI (infact uwsgitop does
not even know about those 13 processes), more likely you have configured
openerp wrongly (or it is doing something requiring this behaviour). Do
you see the request counter (in uwsgitop) increasing while making request
to the site ? And more important, are you sure those are processes and not
threads ?

-- 
Roberto De Ioris
http://unbit.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to