I have deployed a Python Flask application using PM2. The deployment works smoothly under light traffic, but when the application experiences 10-15 concurrent users running heavier workloads, the PM2 service crashes. However, the underlying Python process continues to run.
Can anyone advise on the potential causes of this issue and suggest how I can prevent it from recurring?
I have deployed a Python Flask application using PM2. The deployment works smoothly under light traffic, but when the application experiences 10-15 concurrent users running heavier workloads, the PM2 service crashes. However, the underlying Python process continues to run.
Can anyone advise on the potential causes of this issue and suggest how I can prevent it from recurring?
Supporting information
Error from pm2.log
PM2 Report