大家好,我有任务运行stress-ng与--dccp stresser,但我不小心中断它,而它正在工作,现在我不能再运行它。
sudo stress-ng --dccp 1 --timeout 60s --metrics-brief
stress-ng: info: [35478] setting to a 1 min, 0 secs run per stressor
stress-ng: info: [35478] dispatching hogs: 1 dccp
stress-ng: fail: [35480] dccp: bind failed, errno=98 (Address already in use)
stress-ng: error: [35478] dccp: [35480] terminated with an error, exit status=2 (stressor failed)
stress-ng: metrc: [35478] stressor bogo ops real time usr time sys time bogo ops/s bogo ops/s
stress-ng: metrc: [35478] (secs) (secs) (secs) (real time) (usr+sys time)
stress-ng: info: [35478] skipped: 0
stress-ng: info: [35478] passed: 0
stress-ng: info: [35478] failed: 1: dccp (1)
stress-ng: info: [35478] metrics untrustworthy: 0
stress-ng: info: [35478] unsuccessful run completed in 0.00 secs
字符串
我以为我需要释放端口,但是当我使用sudo netstat -nutlp来监视端口时,我没有看到捕获任何端口enter image description here的stress-ng进程。所以你能帮我解决这个问题吗?重新绑定smth和删除我的stresser
1条答案
按热度按时间ui7jx7zq1#
等待几分钟,让端口变为空闲状态,或者使用--dccp-port选项在不同的端口范围内重新运行