##// END OF EJS Templates
config: reduced gunicorn backlog default to handle less connections per worker
super-admin -
r4893:b28d9cbf default
parent child Browse files
Show More
@@ -80,6 +80,9 b' asyncore_use_poll = true'
80 80 ; The maximum number of simultaneous clients. Valid only for gevent
81 81 #worker_connections = 10
82 82
83 ; The maximum number of pending connections worker will queue to handle
84 #backlog = 64
85
83 86 ; Max number of requests that worker will handle before being gracefully restarted.
84 87 ; Prevents memory leaks, jitter adds variability so not all workers are restarted at once.
85 88 #max_requests = 1000
@@ -63,6 +63,9 b' worker_class = gevent'
63 63 ; The maximum number of simultaneous clients per worker. Valid only for gevent
64 64 worker_connections = 10
65 65
66 ; The maximum number of pending connections worker will queue to handle
67 backlog = 64
68
66 69 ; Max number of requests that worker will handle before being gracefully restarted.
67 70 ; Prevents memory leaks, jitter adds variability so not all workers are restarted at once.
68 71 max_requests = 1000
General Comments 0
You need to be logged in to leave comments. Login now