请选择 进入手机版 | 继续访问电脑版

 找回密码
 立即注册
搜索
查看: 2334|回复: 1

docker版会不断的自动重启!

[复制链接]

1

主题

1

回帖

35

积分

新手上路

积分
35
发表于 2022-9-7 18:23:03 | 显示全部楼层 |阅读模式

一开始使用openwrt安装luci-app-verysync,可能是因为需要同步的目录和文件太多、太大,用不了多长时间,就会把openwrt的内存占满,cpu负载也非常大,最终导致openwrt崩溃。

后来改用docker版,限制了cpu线程数量(2个线程)和内存数量(1600M),这样可以正常使用,不至于崩溃。但是使用半个多小时后,就开始出现verysync网页控制界面突然刷新,每过2-3分钟就会刷新一次。就这样把文件总算都同步完了。同步完成后,依然还会出现这种情况,每隔2-3分钟就会刷界面,关键刷新网页后,同步完成的目录就会开始扫描,有时还没等全部扫描完,又开始刷新,就这样不断的刷新,不断的扫描,cpu和内存占用一直很高。而且我把同步的目录里智能监控和定时扫描,还有初始化扫描全都禁用了。



以下是docker容器里的日志,是因为同步的目录太大,文件太多造成的吗?有办法解决吗?如何能让verysync不自动扫描呢,只在同步的时候扫描就行了。


还有就是luci版verysync,有办法限制一下cpu和内存占用吗?


恳请大佬解疑!!!






  1. stdout: [monitor] 17:55:21 INFO: Verysync exited: signal: killed
  2. stdout: [monitor] 17:55:22 INFO: Starting verysync
  3. 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
  4. stdout: [start] 17:55:22 INFO: Tray service not start, current in Non-interactive window.
  5. stdout: [DBPOB] 17:55:22 INFO: My ID: DBPOB3Q-434JYAB-7UG5TFW-IQYNXFY-SB56GDW-J6DFW4R-XLFNV5V-3T7AHQI
  6. stdout: [DBPOB] 17:55:23 INFO: Single thread SHA256 performance is 1074 MB/s using minio/sha256-simd (759 MB/s using crypto/sha256).
  7. stdout: [DBPOB] 17:55:24 INFO: Hashing performance is 269.76 MB/s
  8. stdout: [DBPOB] 17:55:24 INFO: Machine ID: XBUMBPJFL4KVMFURCJ6QXJAJ2Y
  9. stdout: [DBPOB] 17:55:24 INFO: Account token loaded
  10. stdout: [DBPOB] 17:55:24 INFO: Account loaded user= 尘事尘飞
  11. stdout: [DBPOB] 17:55:24 INFO: Overall send rate is unlimited, receive rate is unlimited
  12. stdout: [DBPOB] 17:55:24 INFO: Relay listener (dynamic+https://relays.verysync.cn/endpoint) starting
  13. stdout: [DBPOB] 17:55:24 INFO: TCP listener (0.0.0.0:22330) starting
  14. 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
  15. 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
  16. 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
  17. 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
  18. stdout: [DBPOB] 17:55:24 INFO: Using discovery mechanism: IPv4 local broadcast discovery on port 22027
  19. stdout: [DBPOB] 17:55:24 INFO: Using discovery mechanism: IPv6 local multicast discovery on address [ff12::8886]:22027
  20. stdout: [DBPOB] 17:55:24 INFO: UDP listener ([::]:43252) starting
  21. stdout: [DBPOB] 17:55:24 INFO: Tunnel listening on 127.0.0.1:18886
  22. stdout: [DBPOB] 17:55:24 INFO: GUI and API listening on [::]:8886
  23. stdout: [DBPOB] 17:55:24 INFO: Access the GUI via the following URL: http://127.0.0.1:8886/
  24. stdout: [DBPOB] 17:55:24 INFO: My name is "Tanix-TX3"
  25. stdout: [DBPOB] 17:55:24 INFO: Ready to synchronize "工具软件" (16486092475994921555) (receiveonly)
  26. stdout: [DBPOB] 17:55:24 INFO: Ready to synchronize "桌面备份" (17779988870134248649) (receiveonly)
  27. stdout: [DBPOB] 17:55:24 INFO: Ready to synchronize "文档" (2915908059886241215) (receiveonly)
  28. stdout: [DBPOB] 17:55:24 INFO: Ready to synchronize "多媒体" (2966189721109450141) (receiveonly)
  29. stdout: [DBPOB] 17:55:24 INFO: Ready to synchronize "手机工具" (4546457212267835927) (receiveonly)
  30. stdout: [DBPOB] 17:55:25 INFO: Ready to synchronize "绿色工具" (6732290198554684873) (receiveonly)
  31. stdout: [DBPOB] 17:55:25 INFO: tracker server https://control.verysync.cn/ latency: 877ms
  32. stdout: [DBPOB] 17:55:25 INFO: tracker server key [Nh6pr] from https://control.verysync.cn
  33. stdout: [DBPOB] 17:55:27 INFO: Signaling listener (dynamicsignaling+https://signalings.verysync.cn/endpoint) starting
  34. stdout: [DBPOB] 17:55:34 INFO: kcp://0.0.0.0:43252 detected NAT type: Symmetric NAT
  35. stdout: [DBPOB] 17:55:37 INFO: Joined relay relay://147.175.187.93:993
  36. stdout: [DBPOB] 17:55:38 INFO: Detected 1 NAT service
  37. stdout: [monitor] 17:58:08 INFO: Verysync exited: signal: killed
  38. stdout: [monitor] 17:58:09 INFO: Starting verysync
  39. 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
  40. stdout: [start] 17:58:09 INFO: Tray service not start, current in Non-interactive window.
  41. stdout: [DBPOB] 17:58:09 INFO: My ID: DBPOB3Q-434JYAB-7UG5TFW-IQYNXFY-SB56GDW-J6DFW4R-XLFNV5V-3T7AHQI
  42. stdout: [DBPOB] 17:58:10 INFO: Single thread SHA256 performance is 1088 MB/s using minio/sha256-simd (764 MB/s using crypto/sha256).
  43. stdout: [DBPOB] 17:58:10 INFO: Hashing performance is 278.40 MB/s
  44. stdout: [DBPOB] 17:58:10 INFO: Machine ID: XBUMBPJFL4KVMFURC4ZQXJAJ2Y
  45. stdout: [DBPOB] 17:58:10 INFO: Account token loaded
  46. stdout: [DBPOB] 17:58:10 INFO: Account loaded user= 尘事尘飞
  47. stdout: [DBPOB] 17:58:10 INFO: Overall send rate is unlimited, receive rate is unlimited
  48. stdout: [DBPOB] 17:58:10 INFO: Relay listener (dynamic+https://relays.verysync.cn/endpoint) starting
  49. 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
  50. 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
  51. 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
  52. 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
  53. stdout: [DBPOB] 17:58:10 INFO: Using discovery mechanism: IPv4 local broadcast discovery on port 22027
  54. stdout: [DBPOB] 17:58:10 INFO: Using discovery mechanism: IPv6 local multicast discovery on address [ff12::8886]:22027
  55. stdout: [DBPOB] 17:58:10 INFO: TCP listener (0.0.0.0:22330) starting
  56. stdout: [DBPOB] 17:58:10 INFO: UDP listener ([::]:43252) starting
  57. stdout: [DBPOB] 17:58:10 INFO: Tunnel listening on 127.0.0.1:18886
  58. stdout: [DBPOB] 17:58:10 INFO: GUI and API listening on [::]:8886
  59. stdout: [DBPOB] 17:58:10 INFO: Access the GUI via the following URL: http://127.0.0.1:8886/
  60. stdout: [DBPOB] 17:58:10 INFO: My name is "Tanix-TX3"
  61. stdout: [DBPOB] 17:58:11 INFO: Ready to synchronize "工具软件" (16486092475994921555) (receiveonly)
  62. stdout: [DBPOB] 17:58:11 INFO: Ready to synchronize "桌面备份" (17779988870134248649) (receiveonly)
  63. stdout: [DBPOB] 17:58:11 INFO: Ready to synchronize "文档" (2915908059886241215) (receiveonly)
  64. stdout: [DBPOB] 17:58:11 INFO: Ready to synchronize "多媒体" (2966189721109450141) (receiveonly)
  65. stdout: [DBPOB] 17:58:11 INFO: Ready to synchronize "手机工具" (4546457212267835927) (receiveonly)
  66. stdout: [DBPOB] 17:58:11 INFO: Ready to synchronize "绿色工具" (6732290198554684873) (receiveonly)
  67. stdout: [DBPOB] 17:58:12 INFO: tracker server https://control.verysync.cn/ latency: 1.314s
  68. stdout: [DBPOB] 17:58:12 INFO: tracker server key [Nh6pr] from https://control.verysync.cn
  69. stdout: [DBPOB] 17:58:20 INFO: kcp://0.0.0.0:43252 detected NAT type: Symmetric NAT
  70. stdout: [DBPOB] 17:58:24 INFO: Detected 1 NAT service
  71. stdout: [DBPOB] 17:58:26 INFO: Joined relay relay://101.100.146.154:443
  72. stdout: [DBPOB] 17:59:25 INFO: Joined relay relay://221.222.176.41:3000
  73. stdout: [DBPOB] 17:59:28 INFO: Signaling listener (dynamicsignaling+https://signalings.verysync.cn/endpoint) starting
复制代码


1

主题

1

回帖

35

积分

新手上路

积分
35
 楼主| 发表于 2022-9-7 20:17:20 | 显示全部楼层
折腾半天,来回复制数据目录,把几个同步目录的目录标识符弄丢了,修复了一下,结果变正常了,已经半个小时没有自动重启了,cpu和内存占用也正常了。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|微力同步 ( 京ICP备20030739号-4 )

GMT+8, 2024-3-28 21:10 , Processed in 0.018713 second(s), 18 queries .

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表