-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
Stress-testing caused to stuck on OS X #8432
Comments
Hi @josser. Thanks for opening the issue. Can you run |
Here it is:
|
Yea, OS X has a pretty low default amount for file descriptors. Have you tried bumping that up? (Something like |
@evanlucas Yes, i have tried to adjust it to 10000 using this command:
I'm not sure where is correct place to set it. So I set it in both terminals (with node and with ab), because it looks like this setting applies per terminal window. (or shell session). |
@josser just curious, after you set it, have you confirmed that it is set ( |
@evanlucas Yes, I think I can confirm it set. When I run ulimit -a again I see new value:
|
I thought there was always some issue with |
@mscdex Cool, looks like there is something wrong with ab on mac.
Looks good, thank you! |
Trying to do some stress-tests using ab (yes, I know it's a bit primitive idea) but it looks like there is some issue in OSX-specific code.
So, here is example code:
The most interesting thing is that this is happening not always but usually on second ab run.
So, if you don't get error on first run, just try again as quickly as you can.
Issue is not reproducible on linux.
In console.app I see only one message occurring which correlates with ab in case of error:
Here it is:
Maybe this can help for investigation.
Thank you and sorry for my bad english.
The text was updated successfully, but these errors were encountered: