DEV Community

Nishant Routray
Nishant Routray

Posted on

Pm2

If pm2 gets killed, how to keep the processes still running? and monitor them again when pm2 starts?

Top comments (2)

Collapse
 
cwkang profile image
Chen

Since pm2 manage your processes, its hard to really ensure that the underlying process continue to run after the manager itself is killed. Why would you need this behaviour?

Collapse
 
nishudevil profile image
Nishant Routray

Hi, so I want to use pm2 in production. Suppose pm2 is running n processes and what if pm2 crashes do to some issue. How do i manage the processes back again? How do i regain control over them?