pm2-logrotate

pm2 Daemon Dies After a Few Hours

与世无争的帅哥 提交于 2021-01-29 21:01:59
问题 I have a Node.js/Express app that implements a set of REST APIs and I'm attempting to use pm2 to manage its deployment. The app starts fine (using pm2 start ecosystem.config.js ) and remains available for a few hours, but the pm2 daemon always dies eventually without any errors in the logs. A few notes: I'm running in a CentOS 7 shared hosting environment. The /var/log directory is empty and journalctl doesn't return any entries. I've verified that the system isn't rebooting. The only pm2

pm2 Daemon Dies After a Few Hours

◇◆丶佛笑我妖孽 提交于 2021-01-29 18:32:03
问题 I have a Node.js/Express app that implements a set of REST APIs and I'm attempting to use pm2 to manage its deployment. The app starts fine (using pm2 start ecosystem.config.js ) and remains available for a few hours, but the pm2 daemon always dies eventually without any errors in the logs. A few notes: I'm running in a CentOS 7 shared hosting environment. The /var/log directory is empty and journalctl doesn't return any entries. I've verified that the system isn't rebooting. The only pm2