Ticket #20402: django_docs_howto_deployment_wsgi_uwsgi.diff

File django_docs_howto_deployment_wsgi_uwsgi.diff, 814 bytes (added by alextreme, 11 years ago)
  • docs/howto/deployment/wsgi/uwsgi.txt

    diff --git a/docs/howto/deployment/wsgi/uwsgi.txt b/docs/howto/deployment/wsgi/uwsgi.txt
    index 5b40d5f..22f3934 100644
    a b Here's an example command to start a uWSGI server::  
    6262        --processes=5 \                 # number of worker processes
    6363        --uid=1000 --gid=2000 \         # if root, uwsgi can drop privileges
    6464        --harakiri=20 \                 # respawn processes taking more than 20 seconds
    65         --limit-as=128 \                # limit the project to 128 MB
    6665        --max-requests=5000 \           # respawn processes after serving 5000 requests
    6766        --vacuum \                      # clear environment on exit
    6867        --home=/path/to/virtual/env \   # optional path to a virtualenv
Back to Top