Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for pm2 #88

Closed
yasinuslu opened this issue Jul 7, 2014 · 5 comments
Closed

Support for pm2 #88

yasinuslu opened this issue Jul 7, 2014 · 5 comments

Comments

@yasinuslu
Copy link

I'm not sure if pm2 is better than forever but i see that it has better logging and some other features.

I think it deserves an investigation :)

EDIT: forgot to add a link

https://github.com/unitech/pm2

@arunoda
Copy link
Owner

arunoda commented Jul 8, 2014

Actually, we are using forever only to spawn the app after crashes. We can
use it with builtin upstart. But forever does it better.
Ubuntu upstart manages logs and log rotating.

I don't find how PM2 can help for our use case. If you can point out some
I'd happy to do it.


Arunoda Susiripala
I curate Meteor Weekly - Check it out!
http://meteorhacks.com/meteor-weekly/?utm_source=email-footer&utm_medium=email&utm_campaign=meteorweekly

On Tue, Jul 8, 2014 at 3:29 AM, Yasin Uslu notifications@github.com wrote:

I'm not sure if pm2 is better than forever but i see that it has better
logging and some other features.

I think it deserves an investigation :)


Reply to this email directly or view it on GitHub
zodern/meteor-up#88.

@Kikobeats
Copy link

about this, I think that pm2 can be useful, for example, as load balancer and use all cpus availables:

pm2 start app.js -i max # Enable load-balancer and cluster features

by default pm2 restart the application too, but is more powerful, for example for things like this:

or web panel! https://www.npmjs.com/package/pm2-web

@Kikobeats
Copy link

another advantage:

--max-memory-restart <memory> specify max memory amount used to autorestart (in megaoctets)

PM2 have too many configurables option. Maybe an easy way to implement is detecting that pm2 object exist in settings.json and put here the configuration for lift the process.

@simakwm
Copy link

simakwm commented Apr 5, 2015

+1

@arunoda
Copy link
Owner

arunoda commented Apr 5, 2015

Sorry we are not going to support PM2. There is no reason to use PM2.
We will soon support docker as a runtime.
On 2015 අප්‍රේල් 5, ඉරිදා at ප.ව. 4.53 simakwm notifications@github.com
wrote:

+1


Reply to this email directly or view it on GitHub
zodern/meteor-up#88 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants