j.n.ConnectException: Failed to open a socket.

Hello,

I’m trying to stress a website. For that I’m using one AWS instance (8 CPU, 30 GB memory, Linux). We want to reach 200000 reqs/sec, but only get ~4800.
I followed https://gatling.io/docs/2.3/general/operations/ but the limit seems to be in 4800 reqs/sec. When I try to increase that number returns “Failed to open a socket”.

How can increase concurrency?

Thank you.

Solved.

Hei Ignacio,
how did you solve the problem?
My problems looks probbably the same.

Thanks,
Micha

Increasing number of open files, using ulimit and changing limits conf.