Skip to content

Instantly share code, notes, and snippets.

View pgaref's full-sized avatar

Panagiotis (Panos) Garefalakis pgaref

View GitHub Profile
@pgaref
pgaref / gist:7ed87e47cd735a423e70
Last active September 18, 2018 10:10
Jmeter running out of addresses
java.net.NoRouteToHostException: Cannot assign requested address: JMeter server is unable to allocate a port to create a connection to the JMeter client to return the samples.
Same thing happened to Nginx front-end as well!
java.net.NoRouteToHostException: Cannot assign requested address
Otherwise, the following messages may appear in the JMeter JTL files:
Non HTTP response code: java.net.BindException
Non HTTP response message: Address already in use
The solution is to enable fast recycling TIME_WAIT sockets.