EMQ 问答社区

压测1000个终端,100tps,钩子服务报一堆warn

环境信息

  • EMQ X 版本:4.3.1
  • 操作系统及版本:centos7
  • 其他

问题描述

压测1000个终端,100tps,钩子服务报一堆warn,我们钩子服务正常支持多上个终端连接和tps?

谢谢

配置文件及日志


16C的机器是能到 20k/s TPS 的

看看 emqx 里面有报错的日志吗?

2021-06-08T15:06:24.420085+08:00 [error] LG-IOT-HDP21_bench_pub_1652_3814560919@172.10.20.21:27191 [MQTT] Socket error: einval
2021-06-08T15:06:24.463871+08:00 [error] LG-IOT-HDP21_bench_pub_1209_4156713072@172.10.20.21:1345 [ExHook Svr] CALL emqx_exhook_v_1_hook_provider_client:on_message_dropped(#{message => #{from => <<"LG-IOT-HDP21_bench_pub_1209_4156713072">>,id => <<"0005C43BCB7A5BD5F44300004F220063">>,node => <<"emqx@127.0.0.1">>,payload => <<"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"...>>,qos => 1,timestamp => 1623135979461,topic => <<"topic/test">>},reason => <<"no_subscribers">>}, #{channel => "default"}) throw an exception: timeout, stacktrace: {gen_server,call,[<0.2079.0>,{read,#Ref<0.2421998138.1475608579.73742>,1623135984462},5000]}