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

bench script start error #232

Open
zhaoguohao21 opened this issue Oct 13, 2023 · 1 comment
Open

bench script start error #232

zhaoguohao21 opened this issue Oct 13, 2023 · 1 comment

Comments

@zhaoguohao21
Copy link

./emqtt_bench conn -h 127.0.0.1 -p 1883 -V 3 -c 10 -i 10 --log_to console

i started emqx broker ,and use mqtt.fx to test, it runs well . but when i run bench script

output is :

Start with 10 workers, addrs pool size: 1 and req interval: 100 ms

=ERROR REPORT==== 13-Oct-2023::12:03:12.196746 ===
error: 'EXIT'
reason: einval
msg: connection_error
clietntid: <<"GUOHAOZHAO-MB1_bench_conn_2351988102_1">>
client(8): connect error - {{shutdown,einval},{'EXIT',#Port<0.23>,einval}}
client(1): connect error - {{shutdown,einval},{'EXIT',#Port<0.19>,einval}}
client(3): connect error - {{shutdown,einval},{'EXIT',#Port<0.22>,einval}}
client(6): connect error - {{shutdown,einval},{'EXIT',#Port<0.17>,einval}}
client(9): connect error - {{shutdown,einval},{'EXIT',#Port<0.16>,einval}}
client(2): connect error - {{shutdown,einval},{'EXIT',#Port<0.21>,einval}}
client(4): connect error - {{shutdown,einval},{'EXIT',#Port<0.20>,einval}}
client(10): connect error - {{shutdown,einval},{'EXIT',#Port<0.14>,einval}}
client(7): connect error - {{shutdown,einval},{'EXIT',#Port<0.18>,einval}}
client(5): connect error - {{shutdown,einval},{'EXIT',#Port<0.15>,einval}}

@id
Copy link
Collaborator

id commented Oct 13, 2023

@zhaoguohao21 could you add more details?

  • please confirm that you started emqx on the same machine
  • which OS is on your machine
  • what is emqx version and how do you run it
  • how did you install emqtt-bench, and if you built it from source - what is your Erlang/OTP version

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