Last active
September 18, 2018 10:10
-
-
Save pgaref/7ed87e47cd735a423e70 to your computer and use it in GitHub Desktop.
Jmeter running out of addresses
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | |
echo 1 > /proc/sys/net/ipv4/tcp_tw_recycle |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
net.ipv4.tcp_tw_recycle has been removed from Linux 4.12