we are doing the large loading testing(50000TPS)using gatling, we are using Red Hat Enterprise Linux Server VM's for performing the testing.
Load testing is good with 500 TPS for single VM(4cpu and 8gb ram), More than 500 TPS we are not achieving the our target metrics
Running more than 3000 TPS in single machine we are facing following errors
j.n.SocketException: Too many open files
connect(..) failed: Cannot assign requested address 67328 (80.49%)
Note: I'm executing the gradle load test task from same shell where Ulimit and port ranges are increased
Steps we have tried so far
- we have Increased the TCP local_port_range values(1024 65533) in load test vms
- Configured the Ulimit to unlimited/higher values to higher in load test vms
kindly anyone advise us on this
Reference: