Not able to run more than 1M users with atOnceUsers method

Hi All,

I am using the atOnceUsers method to run 2M users as given below code snippet but max users hitting the system are around 1M only. Could anyone please help here why is this happening? is there any restriction in gatling that we could not run more than 1M users test with this method?

setUp(
loadTestScenario.inject(
atOnceUsers(2000000)))
.assertions(global.successfulRequests.percent.gt(0))
.protocols(HTTP_PROTOCOL)

Thanks & Regards,
Ratnesh.

I think your script must have maxed out either the network bandwidth or the system resources.
Can you try upgrading the system resources and bandwidth i.e. run the same script on another machine with a better hardware configuration and network bandwidth?