Relative Content

Tag Archive for pythonubuntuserverfastapi

Fast APIcpu usage goes abobe 100%

I am working on a FastAPI application that cleans job data and extracts tokens from it. I have deployed the API on an Ubuntu server with 12 GB of RAM and a 250 GB SSD. The server uses NGINX and Gunicorn with 4 workers.However, when I start a POST request, the CPU usage goes to 100%. I have checked the code and other configurations multiple times and found no issues. Can you tell me why I am facing this problem and suggest possible solutions?