我的 FAH 系统大部分时间运行正常。
- FAHControl -> 关于:版本 7.6.13
FAHClient --version
--> 7.6.13grep DESC /etc/*release
->“Ubuntu 20.04.1 LTS”
我仅使用 CPU 处理(即不使用 GPU)。
- 工作单元 00 目前正在进行中。
- 工作单位02已死亡。
- 我想要删除/移除/清除/刷新/转储工作单元 02。
我尝试了以下操作:
- 添加新的折叠槽
- 删除当前槽
- 不同排列组合中的相似事物
但是,总是有新的 WU 被下载和处理,如果没有插槽,WU 就只能等待,死亡的 WU 也是如此。
我也尝试从 Shell 中:
{17:23}/var/lib/fahclient/work ➭ FAHClient --dump 02
16:29:39:Trying to access database...
16:29:39:Successfully acquired database lock
16:29:39:Downloading GPUs.txt from assign1.foldingathome.org:80
16:29:39:Connecting to assign1.foldingathome.org:80
16:29:40:Read GPUs.txt
16:29:40:Enabled folding slot 00: PAUSED cpu:22 (not configured)
16:29:40:Enabled folding slot 01: PAUSED gpu:0:TU116 [GeForce GTX 1650 SUPER] (not configured)
16:29:40:ERROR:Exception: Could not bind socket to 0.0.0.0:7396: Address already in use
16:29:40:ERROR:Exception: Could not bind socket to 0.0.0.0:36330: Address already in use
16:29:40:****************************** FAHClient ******************************
16:29:40: Version: 7.6.13
16:29:40: Author: Joseph Coffland <[email protected]>
16:29:40: Copyright: 2020 foldingathome.org
16:29:40: Homepage: https://foldingathome.org/
16:29:40: Date: Apr 28 2020
16:29:40: Time: 04:20:16
16:29:40: Revision: 5a652817f46116b6e135503af97f18e094414e3b
16:29:40: Branch: master
16:29:40: Compiler: GNU 8.3.0
16:29:40: Options: -std=c++11 -ffunction-sections -fdata-sections -O3
16:29:40: -funroll-loops -fno-pie
16:29:40: Platform: linux2 4.19.0-5-amd64
16:29:40: Bits: 64
16:29:40: Mode: Release
16:29:40: Args: --dump 02
16:29:40:******************************** CBang ********************************
16:29:40: Date: Apr 25 2020
16:29:40: Time: 00:07:53
16:29:40: Revision: ea081a3b3b0f4a37c4d0440b4f1bc184197c7797
16:29:40: Branch: master
16:29:40: Compiler: GNU 8.3.0
16:29:40: Options: -std=c++11 -ffunction-sections -fdata-sections -O3
16:29:40: -funroll-loops -fno-pie -fPIC
16:29:40: Platform: linux2 4.19.0-5-amd64
16:29:40: Bits: 64
16:29:40: Mode: Release
16:29:40:******************************* System ********************************
16:29:40: CPU: AMD Ryzen 9 3900X 12-Core Processor
16:29:40: CPU ID: AuthenticAMD Family 23 Model 113 Stepping 0
16:29:40: CPUs: 24
16:29:40: Memory: 31.34GiB
16:29:40: Free Memory: 17.53GiB
16:29:40: Threads: POSIX_THREADS
16:29:40: OS Version: 5.4
16:29:40: Has Battery: false
16:29:40: On Battery: false
16:29:40: UTC Offset: 1
16:29:40: PID: 185503
16:29:40: CWD: /var/lib/fahclient/work
16:29:40: OS: Linux 5.4.0-58-generic x86_64
16:29:40: OS Arch: AMD64
16:29:40: GPUs: 1
16:29:40: GPU 0: Bus:10 Slot:0 Func:0 NVIDIA:7 TU116 [GeForce GTX 1650 SUPER]
16:29:40: CUDA Device 0: Platform:0 Device:0 Bus:10 Slot:0 Compute:7.5 Driver:11.0
16:29:40:OpenCL Device 0: Platform:0 Device:0 Bus:10 Slot:0 Compute:1.2 Driver:450.80
16:29:40:******************************* libFAH ********************************
16:29:40: Date: Apr 15 2020
16:29:40: Time: 21:43:24
16:29:40: Revision: 216968bc7025029c841ed6e36e81a03a316890d3
16:29:40: Branch: master
16:29:40: Compiler: GNU 8.3.0
16:29:40: Options: -std=c++11 -ffunction-sections -fdata-sections -O3
16:29:40: -funroll-loops -fno-pie
16:29:40: Platform: linux2 4.19.0-5-amd64
16:29:40: Bits: 64
16:29:40: Mode: Release
16:29:40:***********************************************************************
16:29:40:<config>
16:29:40: <!-- Folding Slots -->
16:29:40: <slot id='0' type='CPU'/>
16:29:40: <slot id='1' type='GPU'/>
16:29:40:</config>
16:29:40:Unit processing completed
16:29:40:Saving configuration to config.xml
16:29:40:<config>
16:29:40: <!-- Folding Slots -->
16:29:40: <slot id='0' type='CPU'/>
16:29:40: <slot id='1' type='GPU'/>
16:29:40:</config>
16:29:40:Set client configured
16:29:40:Clean exit
运行 FAHClient 似乎会以某种方式创建一个新的 FAH 进程/服务器,而不是使用现有的进程/服务器。此外,使用其他命令行选项,调用的 FAHClient 会开始下载和折叠新的工作单元(令人困惑的是,也命名为 00 等)。
所以问题似乎是我如何让 FAHClient 使用现有的 FAH 流程?
答案1
我会尝试给出一个更通用的答案(无论操作系统如何)。
查看日志,特别是这一行:
16:29:40: CWD: /var/lib/fahclient/work
这是你的客户的当前工作目录。检查坏的工作单元 ID(00、01、02、…)。关闭客户端。浏览 CWD 并在目录“work”中,您应该会看到名为(00、01、02、…)的目录 - 每个工作单元一个目录。删除坏的那个。完成。您现在可以启动客户端了,它会自行清理。
答案2
我认为您应该停止 FAHClient 进程,然后 cd 到/var/lib/fahclient
转储之前。