【发布时间】:2018-12-26 10:32:59
【问题描述】:
我正在使用 tsung 为 mqtt 消息代理运行分布式负载测试。我已经使用 shh 键配置了节点,并检查了节点之间的 shh 是否正确发生,并且使用单个客户端测试运行成功,但是当我启动具有 2 个节点的 tsung.xml 文件时,我遇到了内部服务器错误。
我检查了两个节点中安装的 erlang 和 tsung 的版本和路径。它们甚至具有相同的版本和路径。
<clients>
<client host="1.2.3.4" cpu="1" maxusers="300"/>
<client host="2.3.4.6" cpu="1" maxusers="100"/>
</clients>
<servers>
<server host="1.2.3.4" port="1883" type="tcp" />
</servers>
当我在 1.2.3.4:8091 运行 tsung 报告时
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator unknown@unknown, and inform them of the time the error occurred and anything you might have done that may have caused the error.
还有 tsung_controller@1.2.3.4.log 说
ts_config_server:(0:<0.158.0>) Can't start newbeam on host '2.3.4.6' (reason: timeout) ! Aborting!
他们是否有此问题的任何原因或如何解决错误的解决方案?
【问题讨论】:
-
您应该编辑问题以包含错误消息,以便我们了解它是如何失败的
-
我编辑了这个问题。看看你是否能解决这个问题。
标签: load-testing tsung