grey5659
V2EX  ›  DevOps

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

  •  
  •   grey5659 · Oct 2, 2021 · 3634 views
    This topic created in 1695 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   ·   2847 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 466ea39e · 68ms · UTC 06:02 · PVG 14:02 · LAX 23:02 · JFK 02:02
    ♥ Do have faith in what you're doing.