-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Fork mode by default for Node.js 0.10.x #684
Comments
👍 |
1 similar comment
👍 |
It'll add a new issue:
If you are to make it default, it probably should be done for all node.js versions, not just 0.10. |
The fact is that 0.10 is not cluster friendly but 0.11 and so, 0.12 will be. It's sad not to use the cluster mode when it's totally safe to use it. We could also mention in the README or with a pm2 warning that < 0.11 will be buggy by using cluster mode as it was in one of previous pm2 version. |
It's never totally safe to use it. Things like |
I'm in to make the default exec mode to fork_mode for every node versions. |
OK, now if you start an app the mode is fork_mode. This is a big strategic change ! But will incur more stability for all Node.js version and less weird bugs. The change is starting from the PM2 0.10.7 version. Long live to PM2 ! |
damned: a99bd4d#diff-11b18b3af4c330a60bff03e3abab63a6R199 Now script started with cluster mode are set a main script
|
Should PM2 start application in fork mode by default for Node.js 0.10.x ?
It would avoid some issues like:
The text was updated successfully, but these errors were encountered: