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