@
lqs gunicorn -b 127.0.0.1:5000 -w 4 -k gevent --worker-connections=2000 a:app
/Library/Python/2.7/site-packages/gunicorn/workers/
ggevent.py:20: UserWarning: libevent version mismatch: system version is '2.0.21-stable' but this gevent is compiled against '2.0.19-stable'
import gevent
2013-09-24 18:49:34 [8930] [INFO] Starting gunicorn 18.0
2013-09-24 18:49:34 [8930] [INFO] Listening at: http://127.0.0.1:5000 (8930)
2013-09-24 18:49:34 [8930] [INFO] Using worker: gevent
2013-09-24 18:49:34 [8933] [INFO] Booting worker with pid: 8933
2013-09-24 18:49:34 [8934] [INFO] Booting worker with pid: 8934
2013-09-24 18:49:34 [8935] [INFO] Booting worker with pid: 8935
2013-09-24 18:49:34 [8936] [INFO] Booting worker with pid: 8936
2013-09-24 18:49:37.355298
2013-09-24 18:49:40.379017
2013-09-24 18:49:43.393222
2013-09-24 18:49:46.411903
2013-09-24 18:49:49.426570
我用了gevent.sleep(3), 结果还是拖拖的顺序执行,真不知道问题出在哪里。
而且我已经配置了nginx了,不知道是不是那个warning的问题