Il 20/11/2012 10:54 [email protected] ha scritto:
On 20.11.2012 11:34, Łukasz Mierzwa wrote:

2012/11/20 <[email protected]>

Hi All,

I'm using uwsgi behind apache, to serve Zope. My setup is working, but with one (major for us) issue.

All requests are being served by one worker, the rest are not being used. The uwsgi config is:

Is this by any chance the same issue as here: http://lists.unbit.it/pipermail/uwsgi/2012-November/005066.html [1] ? How many requests per second do You have? If the number is low than it is normal that one worker will get most requests. --
Łukasz Mierzwa

I don't think that is the case here. CPU for that worker maxes out at
100% and the site gets realy slow while waiting for that worker to
respond. Also, we were using gunicorn before and it was using more
than one CPUs

BTW we're using uwsgi-latest from http://projects.unbit.it/downloads/
which I guess is 1.3



If you want to go multiprocess with zope you have to be sure you are using the zeo server and not the embedded db, otherwise you could face lot of different problems (corruptions included).

Zope should be run multithreaded (if not coupled with a zeo server), so instead of workers
you should use 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