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

The bench stalls as the number of pub/sub client goes beyond 50 #1

Open
akankshadixit opened this issue Apr 19, 2020 · 2 comments
Open

Comments

@akankshadixit
Copy link

akankshadixit commented Apr 19, 2020

Hi,
I am facing issues in testing this Python MQTT bench. when I set --pub-client > 50 and --sub-client> 50 the command (pymqttbench --hostname localhost --sub-client 50 --pub-clinet 50 ) stalls and gives no output. I tried using a local broker that I installed on my machine and also the mosquitto broker freely available at test.mosquitto.mqtt. It is working fine for less number of publisher and subscriber clients. What can be the issue? I tried to debug but no success.

@mtreinish
Copy link
Owner

Sorry for the delay in responding.

It's hard to know exactly what's going on. It depends a lot on your system configuration. What that sounds like to me though is that you're hitting a ulimit on open file descriptors, processes or something else like that. Back when I wrote this tool and was using for benchmarking the MQTT deployment I was setting up that was something that I vaguely remember having an issue with in some environments and I'd have either disable the ulimit in question (or raise to be sufficiently high) on my system.

@fungi
Copy link
Collaborator

fungi commented Jul 11, 2020

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