dto-btn / todo

Catch-all for issues that aren't related to a specific project.
0 stars 0 forks source link

Investigate performance test errors on 4 CPU/16 GB VMs #26

Closed patheard closed 4 years ago

patheard commented 4 years ago
Non HTTP response code: java.net.NoRouteToHostException/Non HTTP response message: Cannot assign requested address (Address not available)

Related #17

patheard commented 4 years ago

Fix was as follows:

# Increase available port range
sudo sysctl -w net.ipv4.ip_local_port_range="1024 65535"

# Allow socket reuse
sudo sysctl -w net.ipv4.tcp_tw_reuse=1