I have a backend server which is a FastAPI server deployed with Gunicorn and Uvicorn worker class. Sometimes the server stops giving the response right away. I've checked the CPU and RAM usage all looks good. I've checked the docker stats and it also looks good. Its with the overall backend server not with a specific API request. Has anyone faced and solved this issue before? This issue gets resolved when I restart the server then comes back again due to an unknown reason there's no clear pattern here.
- I checked by going inside the docker container of the backend and tried the to get the response from there as well and its not giving me the response right away. Sometime it does sometimes its stuck.