gpt4 book ai didi

linux - Jmeter-server卡在linux系统上

转载 作者:太空宇宙 更新时间:2023-11-04 11:38:20 24 4
gpt4 key购买 nike

当我尝试从通过腻子连接的服务器运行 jmeter-server 时,它挂起:

bash-3.2$ ./jmeter-server -t filename.jmx
Using local port: 4000
Created remote object: UnicastServerRef [liveRef: [endpoint:[172.31.120.200:4000] (local),objID:[1a15acdf:12f949f58d8:-7fff, -8305458059461378367]]]

我做错了什么?它只是挂起。以前它是错误的:

bash-3.2$ ./jmeter-server
Using local port: 4000
Created remote object: UnicastServerRef [liveRef: [endpoint:[172.31.120.200:4000](local),objID:[1fa5aea9:12f94a578a6:-7fff, -8358825329658872549]]]
Problem creating registry: java.rmi.server.ExportException: Port already in use: 1099; nested exception is:
java.net.BindException: Address already in use
Continuing...
Server failed to start: java.rmi.RemoteException: Cannot start. See server log file.

什么给了?

最佳答案

1099端口是jmeter服务器的默认端口,这意味着你已经启动了jmeter服务器。我认为你应该先杀死它,然后再尝试启动:

ps ax | grep jmeter

kill -9 PID (from previous command)

在开始远程测试之前,我认为您应该阅读文档,看来您做错了:http://jmeter.apache.org/usermanual/jmeter_distributed_testing_step_by_step.pdf

关于linux - Jmeter-server卡在linux系统上,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5798475/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com