我在Ubuntu 10.04(32位)下使用uwsgi-0.9.8.4,这是我的Pyramid应用程序中的uwsgi部分(适用于paster).ini文件 -
[uwsgi]
socket = 127.0.0.1:6543
master = true
processes = 1
pythonpath = /home/jerry/virtualenv/lib/python2.6/site-packages/*.egg
pythonpath = /home/jerry/myapp
uwsgi运行并绑定到端口6543 -
$ uwsgi --ini-paste development.ini -b 32768
...
2011-08-23 16:43:11,128 INFO sqlalchemy.engine.base.Engine {}
WSGI application 0 (SCRIPT_NAME=) ready on interpreter 0x9472fa8 pid: 14161 (default app)
*** uWSGI is running in multiple interpreter mode ***
spawned uWSGI master process (pid: 14161)
spawned uWSGI worker 1 (pid: 14170, cores: 1)
timeout waiting for header. skip request.
timeout waiting for header. skip request.
但是,浏览器中的http://localhost:6543/请求只是暂停,而uWSGI很少报告什么都没有收到。
可能有什么问题,有没有办法调试这种情况?
非常感谢任何指针。
答案 0 :(得分:4)