gpt4 book ai didi

ssh - pssh,超时,被信号 9 杀死

转载 作者:行者123 更新时间:2023-12-04 04:54:53 27 4
gpt4 key购买 nike

我正在使用 PSSH在其他机器上运行命令以实现 parallel compute使用 IPyParallel ,但是我遇到了一个问题,我的命令是

pssh -P -h ip.txt -i ipengine --file=~/parallel/test/ipcontroller-engine.json

过了一会儿,它返回:
[1] 11:54:41 [FAILURE] 192.168.0.112 Timed out, Killed by signal 9
Stderr: 2015-10-12 11:53:41.593 [IPEngineApp] Loading url_file u'/home/fit/parallel/test/ipcontroller-engine.json'
2015-10-12 11:53:41.595 [IPEngineApp] Registering with controller at tcp://192.168.0.115:59413
2015-10-12 11:53:41.628 [IPEngineApp] Starting to monitor the heartbeat signal from the hub every 3010 ms.
2015-10-12 11:53:41.630 [IPEngineApp] Completed registration with id 0
[2] 11:54:41 [FAILURE] 192.168.0.104 Timed out, Killed by signal 9
Stderr: 2015-10-12 11:53:41.647 [IPEngineApp] Loading url_file u'/home/fit/parallel/test/ipcontroller-engine.json'
2015-10-12 11:53:41.648 [IPEngineApp] Registering with controller at tcp://192.168.0.115:59413
2015-10-12 11:53:41.682 [IPEngineApp] Starting to monitor the heartbeat signal from the hub every 3010 ms.
2015-10-12 11:53:41.684 [IPEngineApp] Completed registration with id 1

我认为 PSSH 有问题,但我不知道如何解决它。

最佳答案

谷歌搜索后,我找到了pssh如果不输入 -t,命令将只持续 60 秒选项。
所以,为了解决这个问题,我输入命令

pssh -P -h ip.txt -t 100000000 -i ipengine --file=~/parallel/test/ipcontroller-engine.json
并且该命令将在 100000000 秒后被杀死
2020/08/28 更新
谢谢@ Nicolas Thery和@ Setzer22 , 而不是设置任意大的值,你可以设置 -t 0 禁用超时功能。

关于ssh - pssh,超时,被信号 9 杀死,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33073144/

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