If I get a "[WARN ] i.g.h.a.AsyncHandlerActor - Request 'login' failed: java.net.ConnectException: connection timed out:" showing up in the log, is it possible that there's a configuration problem or limitation with Gatling/my machine, or is it more likely/definitely the server I'm hitting? (I'm doing 100 users/s over 60s.) I've been keeping an eye out as I increase the number of users for address in use errors in case I run out of ports, but haven't seen any.
--
You received this message because you are subscribed to the Google Groups "Gatling User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gatling+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
If you start tuning that lowering it even further can be beneficial. The TCP connection handshake typically completes in a fraction of a second when both ends are servers inside the same datacenter. If it does not complete in half a second or so it's a sign that something is wrong. In that case failing fast is better than allowing the open connection handles to eat threads and memory resources while waiting for something that you know is unlikely to be successful.
Of course you should only do that if you know what time it usually takes. That means putting a representative load on the system and measuring. If you know that the handshake completes in less than 300 milliseconds in 99.5% of the responses lowering it to 400 ms or so should be fine.