config_socket.ini 831 B

1234567891011121314151617181920212223
  1. [uwsgi]
  2. master
  3. ; Increase listen queue used for nginx connecting to uWSGI. This matches
  4. ; net.ipv4.tcp_max_syn_backlog and net.core.somaxconn.
  5. ; for performance
  6. disable-logging
  7. ; use UNIX sockets instead of TCP loopback for performance
  8. socket = /tmp/uwsgi.sock
  9. ; allow nginx to access the UNIX socket
  10. chmod-socket = 666
  11. ; Avoid thundering herd problem http://uwsgi-docs.readthedocs.org/en/latest/articles/SerializingAccept.html .
  12. ; This is currently disabled because when I tried it with flask, it caused a
  13. ; 20% performance hit. The CPU cores could not be saturated with thunder-lock.
  14. ; I'm not yet sure the full story, so this is presently disabled. Also,
  15. ; disabling this caused bottle to get ~13% faster.
  16. ;thunder-lock
  17. ; used by uwsgi_stop.ini
  18. pidfile = /tmp/uwsgi.pid
  19. plugin = cutelyst
  20. [Cutelyst]
  21. DatabaseHostName=
  22. SendDate=