Skip to content

Instantly share code, notes, and snippets.

@heavenshell
Created October 10, 2012 12:06
Show Gist options
  • Save heavenshell/3865197 to your computer and use it in GitHub Desktop.
Save heavenshell/3865197 to your computer and use it in GitHub Desktop.
$ gunicorn --debug --workers=2 --worker-class="gevent" manage:app -b unix:/var/run/gunicorn.sock
2012-10-10 20:59:59 [4694] [INFO] Starting gunicorn 0.14.6
2012-10-10 20:59:59 [4694] [INFO] Listening at: unix:/var/run/gunicorn.sock (4694)
2012-10-10 20:59:59 [4694] [INFO] Using worker: gevent
2012-10-10 20:59:59 [4697] [INFO] Booting worker with pid: 4697
2012-10-10 20:59:59 [4698] [INFO] Booting worker with pid: 4698
^C2012-10-10 21:00:42 [4697] [INFO] Worker exiting (pid: 4697)
2012-10-10 21:00:42 [4698] [INFO] Worker exiting (pid: 4698)
$ gunicorn --debug --workers=2 --worker-class="egg:meinheld#gunicorn_worker" manage:app -b unix:/var/run/gunicorn.sock
2012-10-10 21:04:41 [4820] [INFO] Starting gunicorn 0.14.6
2012-10-10 21:04:41 [4820] [INFO] Listening at: unix:/var/run/gunicorn.sock (4820)
2012-10-10 21:04:41 [4820] [INFO] Using worker: egg:meinheld#gunicorn_worker
2012-10-10 21:04:41 [4823] [INFO] Booting worker with pid: 4823
2012-10-10 21:04:41 [4824] [INFO] Booting worker with pid: 4824
--ブラウザでアクセス--
2012-10-10 21:05:04 [4823] [INFO] Worker exiting (pid: 4823)
2012-10-10 21:05:04 [4824] [ERROR] IOError: [Errno 95] Operation not supported
2012-10-10 21:05:04 [4824] [INFO] Worker exiting (pid: 4824)
2012-10-10 21:05:04 [4838] [INFO] Booting worker with pid: 4838
2012-10-10 21:05:04 [4839] [INFO] Booting worker with pid: 4839
2012/10/10 21:02:46 [error] 4657#0: *36 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 172.19.1.179, server: 172.19.30.43, request: "GET /static/app.html HTTP/1.1", upstream: "http://unix:/var/run/gunicorn.sock:/static/app.html", host: "192.168.10.1:8000"
2012/10/10 21:02:46 [error] 4657#0: *36 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 172.19.1.179, server: 172.19.30.43, request: "GET /static/app.html HTTP/1.1", upstream: "http://unix:/var/run/gunicorn.sock:/500.html", host: "192.168.10.1:8000"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment