config_socket.ini 847 B

123456789101112131415161718192021222324
  1. [uwsgi]
  2. master = true
  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. listen = 65535
  7. disable-logging
  8. ; use UNIX sockets instead of TCP loopback for performance
  9. socket = /var/tmp/uwsgi.sock
  10. ; allow nginx to access the UNIX socket
  11. chmod-socket = 666
  12. ; Avoid thundering herd problem http://uwsgi-docs.readthedocs.org/en/latest/articles/SerializingAccept.html .
  13. ; This is currently disabled because when I tried it with flask, it caused a
  14. ; 20% performance hit. The CPU cores could not be saturated with thunder-lock.
  15. ; I'm not yet sure the full story, so this is presently disabled. Also,
  16. ; disabling this caused bottle to get ~13% faster.
  17. ;thunder-lock
  18. ; used by uwsgi_stop.ini
  19. pidfile = /tmp/uwsgi.pid
  20. [Cutelyst]
  21. Driver=
  22. DatabaseHostName=
  23. SendDate=