|
@@ -8,7 +8,11 @@ disable-logging
|
|
socket = /tmp/uwsgi.sock
|
|
socket = /tmp/uwsgi.sock
|
|
; allow nginx to access the UNIX socket
|
|
; allow nginx to access the UNIX socket
|
|
chmod-socket = 666
|
|
chmod-socket = 666
|
|
-; avoid thundering herd problem http://uwsgi-docs.readthedocs.org/en/latest/articles/SerializingAccept.html
|
|
|
|
-thunder-lock
|
|
|
|
|
|
+; Avoid thundering herd problem http://uwsgi-docs.readthedocs.org/en/latest/articles/SerializingAccept.html .
|
|
|
|
+; This is currently disabled because when I tried it with flask, it caused a
|
|
|
|
+; 20% performance hit. The CPU cores could not be saturated with thunder-lock.
|
|
|
|
+; I'm not yet sure the full story, so this is presently disabled. Also,
|
|
|
|
+; disabling this caused bottle to get ~13% faster.
|
|
|
|
+;thunder-lock
|
|
; used by uwsgi_stop.ini
|
|
; used by uwsgi_stop.ini
|
|
pidfile = /tmp/uwsgi.pid
|
|
pidfile = /tmp/uwsgi.pid
|