EC2 + PM2 Doesn't work - Timeout
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 43.3k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
Hi, I have an structure in EC2 with LB and multiple machines with PM2 and after a lot of thousands requests the PM2 stop or stuck in some endpoint and continue respond to Load Balance that is working, and the LB send a thousands of requests.
I'm using NestJS with Mysql and to start pm2 that is the command
pm2 start yarn --cwd /root/app --interpreter bash --name 'API' -- start
Does anyone had this problem?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the reported EC2 load-balancer setup and the PM2 command pm2 start yarn --cwd /root/app --interpreter bash --name 'API' -- start. Investigate the behavior after sustained high request volume, including the NestJS and MySQL application context; done means identifying a reproducible cause and documenting or implementing a verified resolution for the timeout or stuck process.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, javascript, mysql, nodejs
- Domain
- backend, cloud, databases, infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100