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

用 pm2 代替 forever #90

Closed
afc163 opened this issue Dec 26, 2014 · 4 comments
Closed

用 pm2 代替 forever #90

afc163 opened this issue Dec 26, 2014 · 4 comments

Comments

@afc163
Copy link
Member

afc163 commented Dec 26, 2014

貌似 pm2 还有一个 max-memory-restart 功能,看起来能缓解莫名卡死的问题。

afc163 added a commit that referenced this issue Dec 26, 2014
@afc163
Copy link
Member Author

afc163 commented Dec 26, 2014

还可以监控进程:

@sorrycc
Copy link
Member

sorrycc commented Dec 26, 2014

👍 ,看起来比 forever 好用多了。

@afc163
Copy link
Member Author

afc163 commented Dec 26, 2014

但是没有 cpu 占用过高重启的功能。。。

@afc163
Copy link
Member Author

afc163 commented Dec 26, 2014

有这玩意,配合 https://www.npmjs.com/package/pm2-web 这个就能做出一个 status.spmjs.io 了。

@afc163 afc163 closed this as completed Jan 4, 2015
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

2 participants