I still am not getting the results I expect. I hope somebody can point out my misunderstanding.
My tests seem to show that requests are NOT being queued up to 2048 at all. 8 processors, pre-fork, no threads. binary reloading uWSGI... closing all non-uwsgi socket fds > 2 (_SC_OPEN_MAX = 1024)... found fd 3 mapped to socket 0 (/home/crucial/html/nsb/var/tmp/nestseekers.com.sock) running /usr/sbin/uwsgi [uWSGI] getting INI configuration from /home/crucial/html/nsb/var/conf/ns-uwsgi.conf *** Starting uWSGI 0.9.7.2 (64bit) on [Sun May 15 11:46:42 2011] *** compiled with version: 4.4.1 on 20 April 2011 17:51:40 your memory page size is 4096 bytes uwsgi socket 0 inherited UNIX address /home/crucial/html/nsb/var/tmp/nestseekers.com.sock fd 3 Python version: 2.6.4 (r264:75706, Dec 7 2009, 18:59:58) [GCC 4.4.1] Python main interpreter initialized at 0x110bcd0 your server socket listen backlog is limited to 2048 connections *** Operational MODE: preforking *** added /home/crucial/html/nsb/bin to pythonpath. loading ENVIRONMENT: ns.beta_settings.py /home/crucial/html/nsb/eggs/django_registration-0.7-py2.6.egg/registration/models.py:4: DeprecationWarning: the sha module is deprecated; use the hashlib module instead /home/crucial/html/nsb/eggs/django_socialauth-0.1.2c-py2.6.egg/openid_consumer/views.py:7: DeprecationWarning: the md5 module is deprecated; use hashlib instead import md5, re, time, urllib WSGI application 0 (SCRIPT_NAME=) ready on interpreter 0x110bcd0 (default app) *** uWSGI is running in multiple interpreter mode *** gracefully (RE)spawned uWSGI master process (pid: 7955) spawned uWSGI worker 1 (pid: 2271, cores: 1) spawned uWSGI worker 2 (pid: 2272, cores: 1) spawned uWSGI worker 3 (pid: 2273, cores: 1) spawned uWSGI worker 4 (pid: 2274, cores: 1) spawned uWSGI worker 5 (pid: 2275, cores: 1) spawned uWSGI worker 6 (pid: 2276, cores: 1) spawned uWSGI worker 7 (pid: 2277, cores: 1) spawned uWSGI worker 8 (pid: 2278, cores: 1) cat /proc/sys/net/ipv4/tcp_max_syn_backlog 2048 # 200 concurrency ab -A beta:forward -c 200 -n 1000 http://beta.nestseekers.com/ Non-2xx responses: 794 the errors: 2011/05/15 11:43:16 [error] 2240#0: *300649 connect() to unix:///home/crucial/html/nsb/var/tmp/nestseekers.com.sock failed (11: Resource temporarily unavailable) while connecting to upstream, client: 174.143.146.14, server: beta.nestseekers.com, request: "GET / HTTP/1.0", upstream: "uwsgi://unix:///home/crucial/html/nsb/var/tmp/nestseekers.com.sock:", host: "beta.nestseekers.com" which is a unix socket error so only the first 206 were successfully served. why is there not a queue of 2048 to buffer these ? -thanks
_______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
