About 93 results
Open links in new tab
  1. ssl - Running gunicorn on https? - Stack Overflow

    Gunicorn now supports SSL, as of version 17.0. You can configure it to listen on https like this: $ gunicorn --certfile=server.crt --keyfile=server.key test:app If you were using --bind to listen on port …

  2. Gunicorn Workers and Threads - Stack Overflow

    Questions So where do threads fit in? Can I add threads to both the sync and async worker types? What is the best option around gunicorn workers? Should I wish to place gunicorn in front of a Django API, …

  3. python - Does FastAPI still need Gunicorn? - Stack Overflow

    Jul 8, 2025 · For a long time Gunicorn+Uvicorn was the default setup for running FastAPI in production. However, I recently came across a blog post saying: In the meantime, this combination of Gunicorn …

  4. What is the difference between Uvicorn and Gunicorn+Uvicorn?

    Feb 25, 2021 · Gunicorn itself is not compatible with FastAPI because FastAPI uses the fresh ASGI standard. Uvicorn is an application server that supports the ASGI protocol. It also has an option to …

  5. django - How to stop gunicorn properly - Stack Overflow

    Jan 30, 2013 · I'm starting gunicorn with the Django command python manage.py run_gunicorn. How can I stop gunicorn properly? Note: I have a semi-automated server deployment with fabric. Thus …

  6. gunicorn: how to resolve "WORKER TIMEOUT"? - Stack Overflow

    I have setup gunicorn with 3 workers, 30 worker connections and using eventlet worker class. It is set up behind Nginx. After every few requests, I see this in the logs. [ERROR] gunicorn.error: WOR...

  7. Gunicorn / Uvicorn extremely rare 502 Errors - Stack Overflow

    Mar 5, 2025 · We observed an issue with our containerized Python FastAPI application, which we deploy using Gunicorn and Uvicorn on Kubernetes. In extremely rare cases (~1 in 100.000) a single …

  8. python - how to run gunicorn on docker - Stack Overflow

    May 12, 2017 · Gunicorn takes the place of all the run statements in your code, if Flask's development web server and Gunicorn try to take the same port it can conflict and crash Gunicorn. Note that when …

  9. Gunicorn behavior with worker and thread configuration

    Oct 20, 2023 · Is Gunicorn failing to terminate workers that have served 250 requests? I would appreciate any insights or suggestions to help me understand and rectify this behavior.

  10. Gunicorn With Gevent, Performance Gain - Stack Overflow

    Sep 29, 2021 · Gunicorn Worker Class Gunicorn has worker_class setting. Some possible values are sync gthread gevent Definitions from Luis Sena's nice blog sync This is the default worker class. …