Open BrandonCopley opened 5 years ago
Subscribing to PM2 plus from any container is easy.
The difficult part is to unsubscribe, as "zombie" pm2 processes are still shown in PM2 dashboard even if they are not running anymore. Using PM2 delete locally does not remove them from the remote PM2 list dashboard.
What are our options?
After toying with PM2, I have found the sequence to unsubscribe from PM2 plus properly :
Then you just have to run pm2 start with your ecosystem configured for PM2 Plus and it will subscribe again
Is there a better way of monitoring AWS/ECS/Docker services. I seem to be using a ton of processes, and on reloading the app the old processes aren't being removed, and I'm unable to watch metrics over time for the application as a whole.
I'm trying to hunt down some memory leaks, it appears they may be related to --trace, but I'm not sure yet. I don't experience the leaks locally when doing memory dumps, but I do see the processes growing in size remotely.