use gevent plugin.
gevent version 1.02b
uwsgi version 1.2
python version 2.5.4
uwsgi conf:
<uwsgi id='hello'>
<http-socket>0.0.0.0:8888</http-socket>
<loop>gevent</loop>
<async>1000</async>
<pythonpath>/opt/webapp/web_center</pythonpath>
<module>hello</module>
<master>true</master>
<workers>2</workers>
<enable-threads>true</enable-threads>
<listen>100000</listen>
<daemonize>/opt/webapp/web_center/hello.log</daemonize>
<pidfile>/opt/webapp/web_center/hello.pid</pidfile>
<cpu-affinity>1</cpu-affinity>
<max-requests>50000</max-requests>
<logdate>true</logdate>
<buffer-size>65536</buffer-size>
<reload-mercy>10</reload-mercy>
<auto-snapshot>true</auto-snapshot>
<reload-on-exception>true</reload-on-exception>
</uwsgi>
when i reload my app by --reload,some other client requesting get an error:
IOError: ('http protocol error', 0, 'got a bad status line', None)
it looks reload-mercy not work.i just want to restart my app smoothly like
nginx,what should i do?
--
人生不过刷牙!!!
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi