uwsgi启动后
WSGI app 0 (mountpoint='') ready in 0 seconds on interpreter 0x7fe603c0b1f0 pid: 1228 (default app)
*** uWSGI is running in multiple interpreter mode ***
spawned uWSGI master process (pid: 1228)
spawned uWSGI worker 1 (pid: 1229, cores: 1)
spawned uWSGI worker 2 (pid: 1230, cores: 1)
spawned uWSGI worker 3 (pid: 1231, cores: 1)
spawned uWSGI worker 4 (pid: 1232, cores: 1)
页面显示
502 Bad Gateway
uwsgi输出
invalid request block size: 4665 (max 4096)...skip
Wed Nov 28 16:45:14 2012 - error parsing request
nginx log:
2012/11/28 16:47:51 [error] 1240#0: *25 upstream prematurely closed connection while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET / HTTP/1.1", upstream: "uwsgi://unix:/tmp/uwsgi.sock:", host: "localhost"
2012/11/28 16:47:51 [error] 1240#0: *25 upstream prematurely closed connection while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET /favicon.ico HTTP/1.1", upstream: "uwsgi://unix:/tmp/uwsgi.sock:", host: "localhost"
WSGI app 0 (mountpoint='') ready in 0 seconds on interpreter 0x7fe603c0b1f0 pid: 1228 (default app)
*** uWSGI is running in multiple interpreter mode ***
spawned uWSGI master process (pid: 1228)
spawned uWSGI worker 1 (pid: 1229, cores: 1)
spawned uWSGI worker 2 (pid: 1230, cores: 1)
spawned uWSGI worker 3 (pid: 1231, cores: 1)
spawned uWSGI worker 4 (pid: 1232, cores: 1)
页面显示
502 Bad Gateway
uwsgi输出
invalid request block size: 4665 (max 4096)...skip
Wed Nov 28 16:45:14 2012 - error parsing request
nginx log:
2012/11/28 16:47:51 [error] 1240#0: *25 upstream prematurely closed connection while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET / HTTP/1.1", upstream: "uwsgi://unix:/tmp/uwsgi.sock:", host: "localhost"
2012/11/28 16:47:51 [error] 1240#0: *25 upstream prematurely closed connection while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET /favicon.ico HTTP/1.1", upstream: "uwsgi://unix:/tmp/uwsgi.sock:", host: "localhost"