I'm running Gatling 2.0 on Windows 7 and try to simulate a large number of users hitting our server. When I run my Gatling test with 20000 sessions, I get the following errors a few minutes after the test starts:
java.net.ConnectException: No buffer space available (maximum connections reached?): connect
The number of connections by querying netstat (netstat -an | wc -l) during the test has an upper limit of 16489. And then I try the same test on a Windows 2008 server r2 machine, the limit is around 10107.
Is there a limit of open connections on Windows? Or is there anything else that is preventing Gatling to have more sessions?
Any suggestion is appreciated.
Thanks,
Brian