Request failed, prompt "socket: too many open files"

Hi guys, I used [executor: ‘constant-arrival-rate’] for multiple_scenarios, each scenario, set rate=1000, maxVUs=350, when runing k6 script, prompt “socket: too many open files”. How to resolve it ?

HI @sunnini,

You likely have an open file limit of 1000 as most modern linux distros default to.

You can read the OS fine-tuning and the linked article to understand how to fix it.

Also in general googling error messages (this one in particular) will tell you what went wrong.