Hi,
I'm trying to use uwsgi with nginx to server some cgi scripts. The thing
is, no matter what I'm doing, I'm stuck at 53 rps with AB testing (50%
user CPU load, 45% system CPU load), while the old setup with apache
gives a 83 rps (83% user CPU load, 15% system CPU load). I have read the
CGI chapter in docs, and the FAQ, but what bothers me is that no matter
what I'm doint, the rps is stuck at 53.
I tried the default blank config, the config with non-default number of
concurrent processes, the async/ugreen approach, but it seems like
nothing changes. Yeah, when I set the number of processes close to 1,
the performance degrades, but nothing can boost it from 53 rps, and from
my point of view it should, right ? Considering that the cgi script in
testing is always the same, may be it's just me doing something wrong ?
The config is now as follows:
[uwsgi]
plugins =
/usr/local/lib/uwsgi/cgi_plugin.so,/usr/local/lib/uwsgi/python_plugin.so,/usr/local/lib/uwsgi/ugreen_plugin.so
async = 200
ugreen = true
cgi = /cgi-bin=/var/www/zakaz/cgi-bin
stats = /var/tmp/uwsgi-ftp-stats.sock
listen = 1024
I tried adding this, instead of async/ugreen:
processes = 8
threads = 20
and this:
rpc-max = 128
lock-engine = ipcsem
ftok = /tmp/uwsgiftp
Nothing changes.
I will be glad to head the ideas or explanations.
Thanks.
Eugene.
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi