You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
579 B

  1. [uwsgi]
  2. strict = true
  3. socket = /var/run/uwsgi.sock
  4. cgi-mode = true
  5. cgi = /www/
  6. chdir = /usr/lib/lua/luci/
  7. master = true
  8. buffer-size = 10000
  9. reload-mercy = 8
  10. max-requests = 2000
  11. limit-as = 200
  12. reload-on-as = 256
  13. reload-on-rss = 192
  14. no-orphans = true
  15. vacuum = true
  16. enable-threads = true
  17. post-buffering = 8192
  18. socket-timeout = 120
  19. thunder-lock = true
  20. logger = syslog:uwsgi
  21. disable-logging = true
  22. log-format = %(addr) %(method) %(uri) => generated %(rsize) bytes in %(msecs) msecs
  23. pidfile = /var/run/uwsgi.pid
  24. die-on-term = true
  25. threads = 3
  26. processes = 3
  27. chmod-socket = 666