-
-
Save Moekka/5b7c1bd7365c8cccbfebfb46c0a2fe8e to your computer and use it in GitHub Desktop.
[fclone] fclone usage
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
安装方式: | |
下载解压文件至 ---> /usr/bin/ 目录 | |
给予执行权限 | |
chmod +x /usr/bin/fclone | |
使用方式与 gclone / rclone 相同 | |
满足拥有2000有效可用SA请尝试以下 flag | |
flag 1)::低配VPS推荐 | |
--drive-server-side-across-configs --stats=1s --stats-one-line -vP --checkers=128 --transfers=128 --drive-pacer-min-sleep=1ms --check-first | |
flag 2)::低配VPS推荐 | |
--drive-server-side-across-configs --stats=1s --stats-one-line -vP --checkers=128 --transfers=256 --drive-pacer-min-sleep=1ms --check-first | |
flag 3) | |
--drive-server-side-across-configs --stats=1s --stats-one-line -vP --checkers=256 --transfers=256 --drive-pacer-min-sleep=1ms --check-first | |
flag 4) | |
--drive-server-side-across-configs --stats=1s --stats-one-line -vP --checkers=256 --transfers=256 --drive-pacer-min-sleep=1ms --drive-pacer-burst=5000 --check-first | |
flag 5)::中高配独服以上推荐 | |
--drive-server-side-across-configs --stats=1s --stats-one-line -vP --checkers=320 --transfers=320 --drive-pacer-min-sleep=1ms --drive-pacer-burst=5000 --check-first | |
Example: | |
fclone copy remote:{1} remote:{2} flag | |
######### | |
--drive-server-side-across-configs #服务端传递 | |
--stats=1s --stats-one-line -vP #日常参数 | |
--checkers=数字 #越大越快 | |
--transfers=数字 #越大越快 | |
--drive-pacer-min-sleep=数字ms #越小越快 | |
--drive-pacer-burst=数字 #越大越快 | |
--check-first #fmod必须参数 | |
######### | |
Linux :: too many open files 解决办法 | |
step 1) | |
nano /etc/sysctl.conf | |
添加以下行 | |
fs.file-max = 6553500 | |
保存退出执行以下命令 | |
sysctl -p | |
step 2) | |
nano /etc/security/limits.conf | |
添加以下行 | |
* soft memlock unlimited | |
* hard memlock unlimited | |
* soft nofile 65535 | |
* hard nofile 65535 | |
* soft nproc 65535 | |
* hard nproc 65535 | |
root soft memlock unlimited | |
root hard memlock unlimited | |
root soft nofile 65535 | |
root hard nofile 65535 | |
root soft nproc 65535 | |
root hard nproc 65535 | |
保存退出 | |
step 3) | |
nano /etc/pam.d/common-session | |
添加以下行 | |
session required pam_limits.so | |
保存退出,最后重启系统登录查看 | |
ulimit -a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment