Unitech/pm2
View on GitHub ↗ ★ 43,333 JavaScript
Node.js/Typescript/Bun Production Process Manager with a built-in Load Balancer.
25 mentions on Hacker News by 24 people: 3 stories, 22 comments · first 2014-03-03 · latest 2025-12-08
20082026
-
…It would be so nice if FreeBSD had a smooth, more declarative way of managing processes. 1. https://github.com/Unitech/pm2/issues/5718
comment by adamddev1 · 2025-12-08 · in From Azure Functions to FreeBSD -
…is more a surprisingly capable dev tool than a real service manager. Take a look at the code. E.g. https://github.com/Unitech/pm2/blob/master/lib/API.js I don't want this thing running my production environment if I can help it.
comment by RadiozRadioz · 2024-04-08 · in PM2: Production Process Manager with a Built-In Load Balancer -
…obviously, but it sounds like you've already accepted that. [1] http://supervisord.org/ [2] https://github.com/Unitech/pm2
comment by spmurrayzzz · 2023-02-23 · in Show HN: Xc – A Markdown Defined Task Runner -
…0-sec downtime updates and load balancing. We're using pm2 [1] for this if anyone's interested. [1] https://github.com/Unitech/pm2
comment by rid · 2018-02-08 · in Writing Dockerfiles for Node.js Web Apps -
…going to take a while for the Node stdlib to catch up, however. Also I thought something like PM2 ( https://github.com/Unitech/pm2 ) or Forever ( https://github.com/foreverjs/forever ) was pretty much standard for production Node apps?
comment by NoInkling · 2017-04-20 · in Hard-won lessons: Five years with Node.js -
…like Forever[1], PM2[2] or just native systemd? [1] https://github.com/foreverjs/forever [2] https://github.com/Unitech/pm2
comment by nodesocket · 2017-02-08 · in All Twitter Mobile Traffic Is Now Powered by Node.js -
Author of this hack speaking - I've built this interface 3 years ago to track downloads of PM2 ( https://github.com/Unitech/pm2 ), a process manager for Node.js I've authored. I'm really proud to see this dashboard here on HN! In term of…
comment by unictek · 2017-02-07 · in Show HN: Real-Time Monitoring with WebGL for PM2 Downloads -
…running is easy. Checking for errors with status is nice, but searching the logs is annoying. pm2 ( https://github.com/Unitech/pm2 ) has a neat feature where you can watch logs easily, someting that systemd should totally steal and pack…
comment by astrodust · 2017-01-13 · in Systemd Sucks, Long Live Systemd -
…the other day installing pm2 w/ npm which downloads an optional package that they use for analytics https://github.com/Unitech/pm2/blob/master/package.json#L184 Is the problem that they are using google's service? Is it the tracking that…
comment by STRiDEX · 2016-11-25 · in Brew commands send data to Google Analytics -
That's quite a funny project. I setup this thing and just draw a code viz for https://github.com/Unitech/PM2 , that looks pretty cool: http://i.imgur.com/gvm0fxs.png
comment by sassyalex · 2016-11-06 · in JSCity – An implementation of the Code City metaphor for visualizing source code -
Tbh, I thought this was about https://github.com/Unitech/pm2 . I was pretty confused.
comment by XCSme · 2016-10-30 · in PM2.5 exposure possibly leads to 1.37M people’s premature death in China -
…you're looking for more granular reporting & monitoring I can heartily recommend pm2's web dashes [ https://github.com/Unitech/pm2 ]. There are also terminal dashes around like pm2-gui [ https://www.npmjs.com/package/pm2-gui ]. Nice (and…
comment by STRML · 2016-10-12 · in Introducing NodeJS-Dashboard -
…processes requires a bit more work (see https://nodejs.org/docs/latest/api/cluster.html or https://github.com/Unitech/pm2 ) but will probably do more justice to Node.js vs Python.
comment by fzaninotto · 2016-05-04 · in Uvloop: Fast Python networking -
…PM2 [0], StrongPM [1], or even better, Serverless [2] (this is only for AWS but sooo cool) ... [0] https://github.com/Unitech/pm2 [1] http://strong-pm.io/ [2] https://github.com/serverless/serverless
comment by joeyspn · 2016-01-05 · in How to deploy your node app on Linux, 2016 edition -
For hassle-free node apps deployment, I use and recommend PM2 : a [free and open source tool]( https://github.com/Unitech/pm2 ) As its doc states: PM2 is a production process manager for Node.js applications with a built-in load balancer.…
comment by edelans · 2016-01-05 · in How to deploy your node app on Linux, 2016 edition -
…. If you desire a more granular control over cluster management you could use https://github.com/Unitech/pm2 . To make this work the servers themselves will need to be stateless. Which means, handling session management requires additio
comment by EvanPlaice · 2015-12-16 · in JSweet: A transpiler from Java to TypeScript/JavaScript -
You can use PM2 pretty easy https://github.com/Unitech/pm2
comment by victormx · 2015-01-30 · in Show HN: Primrose – a text editor that runs in a WebGL texture -
…spent years with forever, I was ultimately happy to drop it into the trash after discovering PM2. https://github.com/Unitech/pm2 It's significantly more advanced. Create a "process.json" file in your project directory (As you would a…
comment by babby · 2015-01-03 · in Mistakes Node.js Developers Make -
…out to take advantage of the multiple cores commonly present in today’s server-class hardware. https://github.com/Unitech/pm2 > 2. Dealing with relational database is a pain if you are using Node. http://sequelizejs.com/
comment by filipedeschamps · 2014-12-23 · in Does AngularJS really go well with Node.js/JS versus others? -
…yourself http://nodejs.org/api/cluster.html , or use a tool like pm2 to manage your cluster for you https://github.com/Unitech/pm2 .
comment by jonathannorris · 2014-12-14 · in JXCore – A Multithreaded Node.js Fork -
Maybe that one? https://github.com/Unitech/pm2
comment by dewey · 2014-03-21 · in Show HN: Real-time, top-like metrics for Nginx -
This looks really cool, but 99% of the time I can get by with something simpler like PM2 ( https://github.com/Unitech/pm2 ) and continue business as usual.
comment by mmcclure · 2014-03-03 · in JXcore – A Node.js Distribution with Multi-threading