|
@@ -6,7 +6,7 @@ listen = 16384
|
|
|
; for performance
|
|
|
disable-logging
|
|
|
; use UNIX sockets instead of TCP loopback for performance
|
|
|
-socket = /tmp/uwsgi.sock
|
|
|
+socket = /var/tmp/uwsgi.sock
|
|
|
; allow nginx to access the UNIX socket
|
|
|
chmod-socket = 666
|
|
|
; Avoid thundering herd problem http://uwsgi-docs.readthedocs.org/en/latest/articles/SerializingAccept.html .
|
|
@@ -16,4 +16,4 @@ chmod-socket = 666
|
|
|
; disabling this caused bottle to get ~13% faster.
|
|
|
;thunder-lock
|
|
|
; used by uwsgi_stop.ini
|
|
|
-pidfile = /tmp/uwsgi.pid
|
|
|
+pidfile = /var/tmp/uwsgi.pid
|