Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

client(43769): connect error - {tcp_closed,#Port<0.99717>} client(43769): EXIT for {shutdown,tcp_closed} #247

Open
AdityaYadav29 opened this issue Jun 6, 2024 · 1 comment

Comments

@AdityaYadav29
Copy link

I have 3 node deployment of EMQX running in aws eks. I am running the emqtt-bench for load testing with
./emqtt_bench conn -h nlbIp -p 1883 -k 60000 -c 50000 -i 30.

I am getting the above error in emqtt-bench.

In the client machine. I have set the below
ulimit -n 200000
sudo sysctl -w net.ipv4.ip_local_port_range="1025 65534"
echo 1000000 > /proc/sys/fs/nr_open

@qzhuyan
Copy link
Contributor

qzhuyan commented Sep 13, 2024

I guess the LB closed the conn because of idling as you only connect but no sub/pub ops and you also use a very large keep alive timer (60000s) prevents clients to send heartbeat to make the LB decide to keep the TCP alive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants