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.

36 lines
1.8 KiB

  1. [uwsgi]
  2. strict = true
  3. if-not-env = UWSGI_EMPEROR_FD
  4. socket = /var/run/luci-webui.socket
  5. chmod-socket = 666
  6. cheap = true
  7. end-if =
  8. plugin = cgi
  9. cgi-mode = true
  10. cgi = /www/
  11. chdir = /usr/lib/lua/luci/
  12. buffer-size = 10000
  13. reload-mercy = 8
  14. max-requests = 2000
  15. limit-as = 1000
  16. reload-on-as = 256
  17. reload-on-rss = 192
  18. enable-threads = true
  19. post-buffering = 8192
  20. socket-timeout = 120
  21. thunder-lock = true
  22. plugin = syslog
  23. logger = luci syslog:uwsgi-luci
  24. ; the regular expression leaves for successful de/activation only one line each:
  25. log-route = luci ^(?!... Starting uWSGI |compiled with version: |os: Linux|nodename: |machine: |clock source: |pcre jit |detected number of CPU cores: |current working directory: |detected binary path: |uWSGI running as root, you can use |... WARNING: you are running uWSGI as root |chdir.. to |your processes number limit is |limiting address space of processes...|your process address space limit is |your memory page size is |detected max file descriptor number: |lock engine: |thunder lock: |uwsgi socket |your server socket listen backlog is limited to |your mercy for graceful operations on workers is |mapped .* bytes |... Operational MODE: |initialized CGI path: |... no app loaded. going in full dynamic mode ...|... uWSGI is running in multiple interpreter mode ...|spawned uWSGI worker |announcing my loyalty to the Emperor...|workers have been inactive for more than |SIGINT/SIGQUIT received...killing workers...|worker .* buried |goodbye to uWSGI.|...gracefully killing workers...|Gracefully killing worker|worker .* killed successfully)
  26. disable-logging = true
  27. req-logger = syslog:uwsgi-luci
  28. log-format=%(method) %(uri) => return %(status) (%(rsize) bytes in %(msecs) ms)
  29. threads = 1
  30. processes = 3
  31. cheaper-algo = spare
  32. cheaper = 1
  33. cheaper-initial = 1
  34. cheaper-step = 1
  35. master = true
  36. idle = 360