-
Notifications
You must be signed in to change notification settings - Fork 516
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
How does artillery tool make HTTP requests? #138
Comments
By default Artillery will open a new TCP connection for each virtual user (which will usually make multiple requests over that connection). You can set the maximum total number of connections with |
Thanks for the info. For my particular problem, I tried looking up at this thread. As for what you say, artillery doesn't do a setup / teardown but it will reuse the connections. Why do you think it will result in enobufs error frequently? It happens whenver the loading reaches above 500 RPS. I am using a virtual m/c with 8GB of RAM quad core. |
Artillery creates a new connection for each virtual user so if your scenario only performs one request and you have a high arrival rate, it's possible that too many TCP connections are being created. That would be my guess. Try setting |
OK. If I am using this tool for load testing of a HTTP server, I wanna know if it reuses the tcp connections for multiple requests, or does it follow the setup, user and tear-down approach for each request?
The reason I am asking this is because the behavior I observed in my NodeJS+EspressJS web server. Once the loading (RPS) crosses 500, it starts getting in enobufs error. I am trying to google for a solution, but not yet close to it :(-.
Can I get more info on this error and what I should be doing to avoid this error...
The text was updated successfully, but these errors were encountered: