4 ms·
You shouldn’t use pm2 in software containers. That makes things more complex and not standard.
by speedgoose 5y ago
You shouldn’t use pm2 in software containers. That makes things more complex and not standard.
- jwdunne 5y agoCan echo this. A colleague’s node container was maxing out CPU and just removing PM2 and running node directly solved the problem. That was easier than debugging why PM2 was having such a hard time. To be fair, it was a straight up conversion of an old VM in vagrant and Docker was looked at as a one to one replacement before learning otherwise.
- TameAntelope 5y agoIt gives you a bunch of stuff you don’t get running the script directly, and costs nothing, so why wouldn’t I opt for that? They even have an explicit, “run in container” mode.