zoukankan      html  css  js  c++  java
  • rsync有个max connections配置段

    一年偶尔有几次就不行了;    

    报错:

    @ERROR: max connections (8) reached - try again later
    rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
    rsync error: error in rsync protocol data stream (code 12) at io.c(359)
    [root@iiii ~]# ./rsync.sh
    @ERROR: max connections (8) reached - try again later
    rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
    rsync error: error in rsync protocol data stream (code 12) at io.c(359)
    [root@iiii ~]# ./rsync.sh
    @ERROR: max connections (8) reached - try again later
    rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
    rsync error: error in rsync protocol data stream (code 12) at io.c(359)
    You have new mail in /var/spool/mail/root
    [root@iiii ~]# ./rsync.sh
    @ERROR: max connections (8) reached - try again later
    rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
    rsync error: error in rsync protocol data stream (code 12) at io.c(359)
    [root@iiii ~]# ./rsync.sh
    @ERROR: max connections (8) reached - try again later
    rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
    rsync error: error in rsync protocol data stream (code 12) at io.c(359)
    [root@iiii ~]# ./rsync.sh

      

     可以设置大些:

    max connections = 25

    另外,多台机器同步时候的频率分开些:

    比如:

    */1 * * * * /root/rsync.sh

    */2 * * * * /root/rsync.sh

    */3 * * * * /root/rsync.sh

  • 相关阅读:
    Adding a prefix header to an iOS project
    DZ论坛常见基本设置问题
    DZ论坛如何去掉“今日”“昨日”发帖数显示?
    Discuz源码
    怎样使Firefox的新建标签页为空白页
    discuz论坛
    TK域名首次注册教程(咸干花生)
    氪星年货 #1:那些来自大牛的真知灼见
    慢性子
    life and penis
  • 原文地址:https://www.cnblogs.com/taosim/p/3025577.html
Copyright © 2011-2022 走看看