一开始使用openwrt安装luci-app-verysync,可能是因为需要同步的目录和文件太多、太大,用不了多长时间,就会把openwrt的内存占满,cpu负载也非常大,最终导致openwrt崩溃。 后来改用docker版,限制了cpu线程数量(2个线程)和内存数量(1600M),这样可以正常使用,不至于崩溃。但是使用半个多小时后,就开始出现verysync网页控制界面突然刷新,每过2-3分钟就会刷新一次。就这样把文件总算都同步完了。同步完成后,依然还会出现这种情况,每隔2-3分钟就会刷界面,关键刷新网页后,同步完成的目录就会开始扫描,有时还没等全部扫描完,又开始刷新,就这样不断的刷新,不断的扫描,cpu和内存占用一直很高。而且我把同步的目录里智能监控和定时扫描,还有初始化扫描全都禁用了。
以下是docker容器里的日志,是因为同步的目录太大,文件太多造成的吗?有办法解决吗?如何能让verysync不自动扫描呢,只在同步的时候扫描就行了。
还有就是luci版verysync,有办法限制一下cpu和内存占用吗?
恳请大佬解疑!!!
- stdout: [monitor] 17:55:21 INFO: Verysync exited: signal: killed
- stdout: [monitor] 17:55:22 INFO: Starting verysync
- stdout: [start] 17:55:22 INFO: verysync v2.13.0 "Pigeon" (go1.17.5 linux-arm64) builder@golinux.local 2022-01-14 09:41:10 UTC
- stdout: [start] 17:55:22 INFO: Tray service not start, current in Non-interactive window.
- stdout: [DBPOB] 17:55:22 INFO: My ID: DBPOB3Q-434JYAB-7UG5TFW-IQYNXFY-SB56GDW-J6DFW4R-XLFNV5V-3T7AHQI
- stdout: [DBPOB] 17:55:23 INFO: Single thread SHA256 performance is 1074 MB/s using minio/sha256-simd (759 MB/s using crypto/sha256).
- stdout: [DBPOB] 17:55:24 INFO: Hashing performance is 269.76 MB/s
- stdout: [DBPOB] 17:55:24 INFO: Machine ID: XBUMBPJFL4KVMFURCJ6QXJAJ2Y
- stdout: [DBPOB] 17:55:24 INFO: Account token loaded
- stdout: [DBPOB] 17:55:24 INFO: Account loaded user= 尘事尘飞
- stdout: [DBPOB] 17:55:24 INFO: Overall send rate is unlimited, receive rate is unlimited
- stdout: [DBPOB] 17:55:24 INFO: Relay listener (dynamic+https://relays.verysync.cn/endpoint) starting
- stdout: [DBPOB] 17:55:24 INFO: TCP listener (0.0.0.0:22330) starting
- stdout: [DBPOB] 17:55:24 INFO: Using discovery mechanism: global discovery server https://discovery.verysync.cn/v2/?noannounce&insecure=1,https://discovery-v4-1.verysync.cn/v2/?noannounce&insecure=1,https://discovery-v4-2.verysync.cn/v2/?noannounce&insecure=1,https://discovery-v4-3.verysync.cn/v2/?noannounce&insecure=1
- stdout: [DBPOB] 17:55:24 INFO: Using discovery mechanism: global discovery server https://discovery-v4.verysync.cn/v2/?nolookup&insecure=1,https://discovery-v4-1.verysync.cn/v2/?nolookup&insecure=1,https://discovery-v4-2.verysync.cn/v2/?nolookup&insecure=1,https://discovery-v4-3.verysync.cn/v2/?nolookup&insecure=1
- stdout: [DBPOB] 17:55:24 INFO: Using discovery mechanism: global discovery server https://discovery.verysync.cn/v2/?noannounce&id=FRVQIF4-RT7HUZL-R2BLZQS-N4GCI4H-2LC9JNB-FUU6CAJ-WSSB462-6CSBKQV
- stdout: [DBPOB] 17:55:24 INFO: Using discovery mechanism: global discovery server https://discovery-v6.verysync.cn/v2/?nolookup&id=FRVQIF4-RT7HUZL-R2BLZQS-N4GCI4H-2LC9JNB-FUU6CAJ-WSSB462-6CSBKQV
- stdout: [DBPOB] 17:55:24 INFO: Using discovery mechanism: IPv4 local broadcast discovery on port 22027
- stdout: [DBPOB] 17:55:24 INFO: Using discovery mechanism: IPv6 local multicast discovery on address [ff12::8886]:22027
- stdout: [DBPOB] 17:55:24 INFO: UDP listener ([::]:43252) starting
- stdout: [DBPOB] 17:55:24 INFO: Tunnel listening on 127.0.0.1:18886
- stdout: [DBPOB] 17:55:24 INFO: GUI and API listening on [::]:8886
- stdout: [DBPOB] 17:55:24 INFO: Access the GUI via the following URL: http://127.0.0.1:8886/
- stdout: [DBPOB] 17:55:24 INFO: My name is "Tanix-TX3"
- stdout: [DBPOB] 17:55:24 INFO: Ready to synchronize "工具软件" (16486092475994921555) (receiveonly)
- stdout: [DBPOB] 17:55:24 INFO: Ready to synchronize "桌面备份" (17779988870134248649) (receiveonly)
- stdout: [DBPOB] 17:55:24 INFO: Ready to synchronize "文档" (2915908059886241215) (receiveonly)
- stdout: [DBPOB] 17:55:24 INFO: Ready to synchronize "多媒体" (2966189721109450141) (receiveonly)
- stdout: [DBPOB] 17:55:24 INFO: Ready to synchronize "手机工具" (4546457212267835927) (receiveonly)
- stdout: [DBPOB] 17:55:25 INFO: Ready to synchronize "绿色工具" (6732290198554684873) (receiveonly)
- stdout: [DBPOB] 17:55:25 INFO: tracker server https://control.verysync.cn/ latency: 877ms
- stdout: [DBPOB] 17:55:25 INFO: tracker server key [Nh6pr] from https://control.verysync.cn
- stdout: [DBPOB] 17:55:27 INFO: Signaling listener (dynamicsignaling+https://signalings.verysync.cn/endpoint) starting
- stdout: [DBPOB] 17:55:34 INFO: kcp://0.0.0.0:43252 detected NAT type: Symmetric NAT
- stdout: [DBPOB] 17:55:37 INFO: Joined relay relay://147.175.187.93:993
- stdout: [DBPOB] 17:55:38 INFO: Detected 1 NAT service
- stdout: [monitor] 17:58:08 INFO: Verysync exited: signal: killed
- stdout: [monitor] 17:58:09 INFO: Starting verysync
- stdout: [start] 17:58:09 INFO: verysync v2.13.0 "Pigeon" (go1.17.5 linux-arm64) builder@golinux.local 2022-01-14 09:41:10 UTC
- stdout: [start] 17:58:09 INFO: Tray service not start, current in Non-interactive window.
- stdout: [DBPOB] 17:58:09 INFO: My ID: DBPOB3Q-434JYAB-7UG5TFW-IQYNXFY-SB56GDW-J6DFW4R-XLFNV5V-3T7AHQI
- stdout: [DBPOB] 17:58:10 INFO: Single thread SHA256 performance is 1088 MB/s using minio/sha256-simd (764 MB/s using crypto/sha256).
- stdout: [DBPOB] 17:58:10 INFO: Hashing performance is 278.40 MB/s
- stdout: [DBPOB] 17:58:10 INFO: Machine ID: XBUMBPJFL4KVMFURC4ZQXJAJ2Y
- stdout: [DBPOB] 17:58:10 INFO: Account token loaded
- stdout: [DBPOB] 17:58:10 INFO: Account loaded user= 尘事尘飞
- stdout: [DBPOB] 17:58:10 INFO: Overall send rate is unlimited, receive rate is unlimited
- stdout: [DBPOB] 17:58:10 INFO: Relay listener (dynamic+https://relays.verysync.cn/endpoint) starting
- stdout: [DBPOB] 17:58:10 INFO: Using discovery mechanism: global discovery server https://discovery.verysync.cn/v2/?noannounce&insecure=1,https://discovery-v4-1.verysync.cn/v2/?noannounce&insecure=1,https://discovery-v4-2.verysync.cn/v2/?noannounce&insecure=1,https://discovery-v4-3.verysync.cn/v2/?noannounce&insecure=1
- stdout: [DBPOB] 17:58:10 INFO: Using discovery mechanism: global discovery server https://discovery-v4.verysync.cn/v2/?nolookup&insecure=1,https://discovery-v4-1.verysync.cn/v2/?nolookup&insecure=1,https://discovery-v4-2.verysync.cn/v2/?nolookup&insecure=1,https://discovery-v4-3.verysync.cn/v2/?nolookup&insecure=1
- stdout: [DBPOB] 17:58:10 INFO: Using discovery mechanism: global discovery server https://discovery.verysync.cn/v2/?noannounce&id=FRVQIF4-RT7HUZL-R2BLZQS-N4GCI4H-2LC9JNB-FUU6CAJ-WSSB462-6CSBKQV
- stdout: [DBPOB] 17:58:10 INFO: Using discovery mechanism: global discovery server https://discovery-v6.verysync.cn/v2/?nolookup&id=FRVQIF4-RT7HUZL-R2BLZQS-N4GCI4H-2LC9JNB-FUU6CAJ-WSSB462-6CSBKQV
- stdout: [DBPOB] 17:58:10 INFO: Using discovery mechanism: IPv4 local broadcast discovery on port 22027
- stdout: [DBPOB] 17:58:10 INFO: Using discovery mechanism: IPv6 local multicast discovery on address [ff12::8886]:22027
- stdout: [DBPOB] 17:58:10 INFO: TCP listener (0.0.0.0:22330) starting
- stdout: [DBPOB] 17:58:10 INFO: UDP listener ([::]:43252) starting
- stdout: [DBPOB] 17:58:10 INFO: Tunnel listening on 127.0.0.1:18886
- stdout: [DBPOB] 17:58:10 INFO: GUI and API listening on [::]:8886
- stdout: [DBPOB] 17:58:10 INFO: Access the GUI via the following URL: http://127.0.0.1:8886/
- stdout: [DBPOB] 17:58:10 INFO: My name is "Tanix-TX3"
- stdout: [DBPOB] 17:58:11 INFO: Ready to synchronize "工具软件" (16486092475994921555) (receiveonly)
- stdout: [DBPOB] 17:58:11 INFO: Ready to synchronize "桌面备份" (17779988870134248649) (receiveonly)
- stdout: [DBPOB] 17:58:11 INFO: Ready to synchronize "文档" (2915908059886241215) (receiveonly)
- stdout: [DBPOB] 17:58:11 INFO: Ready to synchronize "多媒体" (2966189721109450141) (receiveonly)
- stdout: [DBPOB] 17:58:11 INFO: Ready to synchronize "手机工具" (4546457212267835927) (receiveonly)
- stdout: [DBPOB] 17:58:11 INFO: Ready to synchronize "绿色工具" (6732290198554684873) (receiveonly)
- stdout: [DBPOB] 17:58:12 INFO: tracker server https://control.verysync.cn/ latency: 1.314s
- stdout: [DBPOB] 17:58:12 INFO: tracker server key [Nh6pr] from https://control.verysync.cn
- stdout: [DBPOB] 17:58:20 INFO: kcp://0.0.0.0:43252 detected NAT type: Symmetric NAT
- stdout: [DBPOB] 17:58:24 INFO: Detected 1 NAT service
- stdout: [DBPOB] 17:58:26 INFO: Joined relay relay://101.100.146.154:443
- stdout: [DBPOB] 17:59:25 INFO: Joined relay relay://221.222.176.41:3000
- stdout: [DBPOB] 17:59:28 INFO: Signaling listener (dynamicsignaling+https://signalings.verysync.cn/endpoint) starting
复制代码
|