5 ms·
Does anyone have an alternative to pm2 that's reliable? That's my biggest issue with it: it gets slower and slower to do commands like `pm2 list` over time, and
by erichocean 3y ago
Does anyone have an alternative to pm2 that's reliable? That's my biggest issue with it: it gets slower and slower to do commands like `pm2 list` over time, and eventually, pm2 itself crashes—taking everything it runs with it.
Also, `pm2 flush` doesn't actually truncate all logs, just the logs of whatever processes pm2 happens to be running at that moment.
I workaround this by killing pm2 entirely and `rm -Rf .pm2` once a month or so.
(This is all on Linux BTW.)
- koshergweilo 3y agoI've had a lot of luck with dokku. It uses docker so it's more heavyweight, but it's super simple and scales really well
- josegonzalez 3y agoDokku maintainer here. Dokku itself doesn't run anything in resident (there is a small go binary that listens to the docker event stream and restarts apps as necessary but thats it), so there shouldn't be overhead there. On the Docker side, there is a _slight_ amount of overhead in cpu/networking, but its so negligible that its sometimes difficult to benchmark. While I can't really make changes to Docker to alleviate issues, I'd be interested in knowing what parts of Docker are heavyweight so we can better surface any such information to Dokku users.