vegeta
vegeta copied to clipboard
Unusual number of used port & Error "bind: address already in use"
Question
Hello, when i am trying to test an API, sometimes my vegeta client will spawn a huge swarm of connections eventhough i'm only asking for 2000 connections with a rate of 10k as setup below:
-connections=2000 -duration=5m -rate=10000 -timeout=1s
I checked using lsof, the highest number it shown is 60k, as high as number of available port? Is it an expected result of busy API or there is a known bug and i just have to restart the vegeta client? Thank you
$ lsof -n -i | grep "vegeta" -c Output > 60439