Junior
From PDF
Node.js
Node.js
What is process management and why is PM2 useful?
Process management means keeping your app running reliably, restarting it if it crashes, and
managing multiple instances.
PM2 is a popular Node.js process manager that:
- Restarts apps on crashes or code changes
- Manages clustering (multi-core usage)
- Offers logs and monitoring dashboards
- Supports zero-downtime reloads
Run your app with PM2 like this:
pm2 start app.js
pm2 monit
Share this Q&A
Share preview image: https://www.toolliyo.com/images/toolliyo-logo.png