From 2167b8f9366fa33ec8e62e4d9eab755756be11ff Mon Sep 17 00:00:00 2001 From: =?utf8?q?Stefan=20K=C3=B6gl?= Date: Sat, 27 Apr 2013 14:09:17 +0200 Subject: [PATCH] update gunicorn conf to currently deployed version --- gunicorn.conf.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/gunicorn.conf.py b/gunicorn.conf.py index 6a2da55e..c819ba73 100644 --- a/gunicorn.conf.py +++ b/gunicorn.conf.py @@ -1,8 +1,15 @@ import multiprocessing -bind = "127.0.0.1:8000" +bind='unix:/tmp/mygpo.sock' workers = multiprocessing.cpu_count() * 2 + 1 worker_class = "gevent" # The maximum number of requests a worker will process before restarting. -max_requests = 100000 +max_requests = 1000 + +errorlog='/var/log/gunicorn/error.log' +accesslog='/var/log/gunicorn/access.log' +loglevel='info' + +timeout = 120 +graceful_timeout = 60 -- 2.11.4.GIT