Relative Content

Tag Archive for node.jspm2

Batch Processing Not Working in PM2 Health

I want to limit the exception alerts sent by PM2. Specifically, if an application crashes and an exception occurs, PM2 should send an alert immediately but wait at least 5 minutes before sending the next alert. Currently, I receive an email every minute whenever an exception occurs.

Start Node.js with PM2 on Boot

The whole thing should only take 2 minutes, but of course it doesn’t work for me.
I tried several versions of PM2 and ran it as root.
There were only success messages, but the corresponding service remained on failed and did not start with the system.

PM2 – Current process list is not synchronized with saved list

I have a windows server where I have some code running. I am using pm2 to manage 2 processes on this server. Everything was working fine until a few weeks ago where I had a user rollback the server due to some issues. The user also had to restart the pm2 processes. Since then I am not able to find the running pm2 processes anymore though I do know they are running as the application running off these pm2 processes is still working.