Нет описания

kodo.ini 1.4KB

    # kodo_uwsgi.ini file [uwsgi] # Django-related settings # the base directory (full path) chdir = /home/paiai/work/kodo # Django's wsgi file module = kodo.wsgi # the virtualenv (full path) # home = /path/to/virtualenv # process-related settings # master master = true # maximum number of worker processes processes = 10 # the socket (use the full path to be safe socket = /home/paiai/work/kodo/kodo/deploy/kodo.sock # ... with appropriate permissions - may be needed chmod-socket = 777 # clear environment on exit vacuum = true # connect() to unix:///home/xxx/xxx.sock failed (11: Resource temporarily unavailable) while connecting to upstream # Exec sysctl.sh first # #!/bin/bash # sudo sysctl -w net.core.somaxconn=65535 # sudo sysctl -w net.core.netdev_max_backlog=65535 reload-mercy = 64 max-requests = 8192 listen = 8192 # recv() failed (104: Connection reset by peer) while reading response header from upstream buffer-size = 65535 # https://stackoverflow.com/questions/62602779/flask-via-uwsgi-on-nginx-and-worker-killed-by-signal-9 # https://www.bloomberg.com/company/stories/configuring-uwsgi-production-deployment/ # https://discuss.nebula-graph.com.cn/t/topic/7864/44 harakiri = 130 reload-on-rss = 4048 # https://github.com/getsentry/raven-python/issues/732 ignore-sigpipe = true ignore-write-errors = true disable-write-exception = true