-
Notifications
You must be signed in to change notification settings - Fork 27
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
use this at high traffic causes server hang? #10
Comments
Thanks for reporting. Could you give a little bit of context please? How many connections per second are you making? Are they all to different hosts? |
the complete description is in the first post that I reference above (PM2 issue) I use default maxsockets setting of node 0.12.0, which is Infinity. I don't know, this is weird, some times causes server to hang, and can't be kill by PM2, except do it manually kill -9 I don't count the connections per second, because my website is crawled by search engine, and difficult to count how many hits, crawler access my website. |
Have you tried setting maxsockets to something low? Does it still hang when you do that? You could set it to 1000, test, if it still hangs set it to 500, test again, and so on until it stops hanging. |
yes, I tested it, and still down sometimes, also return socket hangsup if I limit maxsockets Maybe I should tune what the right value of maxsockets, and I will update this issue, thanks |
I don't know what happens, but could you run test with scenario high traffic?
Because my server hang and can't restart with PM2. If that is happens with node 0.12.0, I switch to 0.10.34 or 0.10.36, it is still causes hang.. Thanks
ps: the complete indication of my server hang is the first post, FYI:
Unitech/pm2#1072
The text was updated successfully, but these errors were encountered: