Reputation: 41
I need to trigger 30K+ requests from MacBook. How can I increase the limit to trigger that much of requests without any interruption? is there any way to way to increase the limits? if 30k is not possible, is there any way to trigger 10k+ requests without any hindrance? I'm using the k6 tool to trigger requests.
I tried ulimit -n 1000000 but it didn't work. after reaching 5.5k+ requests. it starts throwing the EOF error.
Upvotes: 0
Views: 389
Reputation: 168072
Check out the following parameters:
sysctl kern.maxfiles
and
sysctl kern.maxfilesperproc
to see if the values are above 30k
Also it might be the case the number of open handles is not something which prevents you from running the test, 30k requests per second might be too much for a single machine so it's better to consider switching to a load testing tool which can be launched in clustered mode like Apache JMeter or Locust or Tsung
Upvotes: 0