Extra Packages
Some Gunicorn options require additional packages. You can use the [extra]
syntax to install these at the same time as Gunicorn.
Most extra packages are needed for alternate worker types. See the design docs for more information on when you’ll want to consider an alternate worker type.
gunicorn[eventlet]
- Eventlet-based greenlets workersgunicorn[gevent]
- Gevent-based greenlets workersgunicorn[gthread]
- Threaded workersgunicorn[tornado]
- Tornado-based workers, not recommended
If you are running more than one instance of Gunicorn, the proc_name setting will help distinguish between them in tools like ps
and top
.
gunicorn[setproctitle]
- Enables setting the process name
Multiple extras can be combined, like pip install gunicorn[gevent,setproctitle]
.