Closed akash-piatrika closed 1 month ago
not sure what you mean , it is started there .... How do you launch it?
hii benotic thanks for the response i was telling that it is running but I am running an api page and when i run gunicorn the page is not getting rendered unless i send any api request or i restart the api page in the web browser after that the gunicorn is taking the requests and rendering the page
running gunicorn but the page
but when i restart the page it is printing more logs and then the page gets rendered
This sounds like a configuration issue. Gunicorn is only working as WSGI gatway there.
thanks for the response do you have any suggestions how to resolve this bentonoic
unsure. probably looks at cloudflare way to check health. Closing as answered.
i am recently using gunicorn and i have integrated it instead of runserver and the gunicorn is working fine but when i run gunicorn pbdjango-gunicorn-1 | [2024-04-12 10:31:59 +0000] [1] [INFO] Starting gunicorn 21.2.0 pbdjango-gunicorn-1 | [2024-04-12 10:31:59 +0000] [1] [DEBUG] Arbiter booted pbdjango-gunicorn-1 | [2024-04-12 10:31:59 +0000] [1] [INFO] Listening at: http://0.0.0.0:9100 (1) pbdjango-gunicorn-1 | [2024-04-12 10:31:59 +0000] [1] [INFO] Using worker: sync pbdjango-gunicorn-1 | [2024-04-12 10:31:59 +0000] [39] [INFO] Booting worker with pid: 39 pbdjango-gunicorn-1 | [2024-04-12 10:31:59 +0000] [40] [INFO] Booting worker with pid: 40 pbdjango-gunicorn-1 | [2024-04-12 10:31:59 +0000] [41] [INFO] Booting worker with pid: 41 pbdjango-gunicorn-1 | [2024-04-12 10:31:59 +0000] [42] [INFO] Booting worker with pid: 42 pbdjango-gunicorn-1 | [2024-04-12 10:31:59 +0000] [1] [DEBUG] 4 workers
its just stopping till this stage and when i send api requests or when i reload the browser the gunicorn showing other logs and that gunicorn has started it is not starting automatically and even when i run this with docker compose up and when i ctrl+c the gunic=orn is not stopping it is running in background in the container