Open zhaoguohao21 opened 1 year ago
./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}}
@zhaoguohao21 could you add more details?
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}}