Running out of TCP Connections #1037
trademark18
started this conversation in
Artillery
Replies: 1 comment 1 reply
-
Artillery does close TCP connections once a virtual user that uses that connection is finished. Do your tests have long-running scenarios to cause the machine to run out of ports? In theory it's impossible to open more than 65k connections from a single client to a server, you will need to add more machines running Artillery to go above the limit. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I'm new to Artillery, and full disclosure: I'm actually using a fork (it supports variable substitution and the artillery-plugin-aws-sigv4 at the same time -- see #544)
Anyway, I already ran into the issue where you run out of open files on WSL2 (Ubuntu) and I found somewhere that you can fix that by doing this:
My new problem is similar. This time I'm running out of TCP connections. From what I read I can increase the connections like so:
sudo sysctl -w net.ipv4.ip_local_port_range="32768 65535"
I can't seem to raise it above 65535, and the original (where I was running out) was 61000 so that's not much more room.
So -- the questions for discussion:
Thanks for the work on this really helpful tool!
P.S. Let me know if you want this to be an issue instead.
Beta Was this translation helpful? Give feedback.
All reactions