TCP connections fail on second run (~60k connections, localhost, Linux)
Posted by ankush2324235@reddit | linux | View on Reddit | 1 comments
Heres the problem i am facing I am making a epoll based server on single thread server now testing this with tcpkali2 with this command:
```tcpkali2 -c 62000 -r 50000 -m "hekko" -T 120s 127.0.0.1:9090```
Now heres the problem :
My setup in terminal 1:
[ankush@cognitive tmp] ./server
Server running on 127.0.0.1:9090
in terminal 2:
tcpkali2 -c 62000 -r 50000 -m "hekko" -T 120s 127.0.0.1:9090
on first run it works well but in second run(tcpkali2) it shows connection error then my server crashes. Also I am closing all the client socket in the server side.
help me !!
AutoModerator@reddit
This submission has been removed due to receiving too many reports from users. The mods have been notified and will re-approve if this removal was inappropriate, or leave it removed.
This is most likely because:
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.