V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
grey5659
V2EX  ›  DevOps

rsync 和 inotify 同步文件夹为什么有延迟呢?

  •  
  •   grey5659 · Oct 2, 2021 · 3579 views
    This topic created in 1672 days ago, the information mentioned may be changed or developed.

    有同步几个目录,但是这个 dfs 目录客户机上日志显示同步时间大多都在 1 个小时左右,偶尔会快点几分钟同步一次,请问可能会是什么原因导致的呢?请有了解的大佬指点一下 rsync 和 inotify 同步文件夹为什么有延迟呢?

    2 replies    2021-10-02 11:55:09 +08:00
    Overfill3641
        1
    Overfill3641  
       Oct 2, 2021
    不清楚,syncthing 的话,文件修改后十秒内无任何修改才会扫描文件哈希值并同步。
    wxlg1117
        2
    wxlg1117  
       Oct 2, 2021
    看日志啊,inotify
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   795 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 20:43 · PVG 04:43 · LAX 13:43 · JFK 16:43
    ♥ Do have faith in what you're doing.