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

Cannot reach 30k concurrent connections #93

Closed
dophlin opened this issue Mar 7, 2016 · 2 comments
Closed

Cannot reach 30k concurrent connections #93

dophlin opened this issue Mar 7, 2016 · 2 comments

Comments

@dophlin
Copy link

dophlin commented Mar 7, 2016

Hi guys,
I experianced a weird behaviour of vernemq. I try to connect 30k clients with vernemq but when the number of clients reachs 28k they start to be disconnected. Is there any limitation or I am doing something wrong!?
I should mention that I did exactly the same test with mosquitto and there is not any problem with that and I can easily reach 60k concurrent connections.

Thanks

@ioolkos
Copy link
Contributor

ioolkos commented Mar 7, 2016

Hello,
this is most certainly configuration related.

In vernemq.conf, have a look at listener.max_connections and maybe max_client_id_size.
Look at erlang.max_ports.

What is ulimit -n in the shell when you started VerneMQ?

Other than that it's hard to tell without more information.
Feel free to send your vernemq.conf to info@vernemq.com, or ask on the public VerneMQ mailing list.

@larshesel
Copy link
Contributor

Hi @dophlin are you still experiencing these issues? If you do please feel free to reopen.

dergraf pushed a commit that referenced this issue Nov 18, 2016
correct rnd:seed arity overlook
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

3 participants