Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Should PM2 God Daemon always be running?

Tags:

pm2

I use pm2 to deal with node projects. Even when all projects are stopped via pm2, I see that pm2 God Daemon is always running and consuming about ~27M Ram. Here how it looks on ps aux: nodeuser 2577 ? Ssl 18:02 0:01 PM2 v0.15.10: God Daemon

The question is, is it built to be that way? Should pm2 God Daemon always be running? However if it is the case, I would like to know why because it didn't make sense to me.

Can I kill pm2 God Daemon via pm2? Or simply kill with kill -9 pid?

like image 463
fcukinyahoo Avatar asked Dec 29 '15 23:12

fcukinyahoo


1 Answers

With pm2 you can kill the god daemon with

pm2 kill
like image 148
Pyry Liukas Avatar answered Oct 14 '22 05:10

Pyry Liukas