rslsync 2.6.3 does stat every minute


Recommended Posts

As many other people I try to use resilio sync without loosing the possibility to spin down my data disk(s). I changed config_refresh_interval and config_save_interval to  86400, folder_rescan_interval to 0. Still my disks stay active if rslsync is running.

strace'ing the rslsync process shows, that my shares are sort of "scanned" once every minute (3 shares, Videothek, Bilder and MimasBilder):

[pid  7700] newfstatat(AT_FDCWD, "/srv/dev-disk-by-id-md-name-odroid-md_media", {st_mode=S_IFDIR|0755, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0
[pid  7700] newfstatat(AT_FDCWD, "/srv/dev-disk-by-id-md-name-odroid-md_media/Medien", {st_mode=S_IFDIR|S_ISGID|0775, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0
[pid  7700] newfstatat(AT_FDCWD, "/srv/dev-disk-by-id-md-name-odroid-md_media/Medien/Videothek", {st_mode=S_IFDIR|S_ISGID|0775, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0
[pid  7700] openat(AT_FDCWD, "/srv/dev-disk-by-id-md-name-odroid-md_media/Medien/Videothek", O_RDONLY|O_NOATIME) = 18
[pid  7700] readlinkat(AT_FDCWD, "/srv/dev-disk-by-id-md-name-odroid-md_media/Medien/Videothek", 0x7f4cc1fb60, 4096) = -1 EINVAL (Invalid argument)
[pid  7700] newfstatat(AT_FDCWD, "/srv/dev-disk-by-id-md-name-odroid-md_media", {st_mode=S_IFDIR|0755, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0
[pid  7700] newfstatat(AT_FDCWD, "/srv/dev-disk-by-id-md-name-odroid-md_media/Medien", {st_mode=S_IFDIR|S_ISGID|0775, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0
[pid  7700] newfstatat(AT_FDCWD, "/srv/dev-disk-by-id-md-name-odroid-md_media/Medien/Bilder", {st_mode=S_IFDIR|S_ISGID|0775, st_size=12288, ...}, AT_SYMLINK_NOFOLLOW) = 0
[pid  7700] openat(AT_FDCWD, "/srv/dev-disk-by-id-md-name-odroid-md_media/Medien/Bilder", O_RDONLY|O_NOATIME) = 18
[pid  7700] readlinkat(AT_FDCWD, "/srv/dev-disk-by-id-md-name-odroid-md_media/Medien/Bilder", 0x7f4cc1fb60, 4096) = -1 EINVAL (Invalid argument)
[pid  7700] newfstatat(AT_FDCWD, "/srv/dev-disk-by-id-md-name-odroid-md_media", {st_mode=S_IFDIR|0755, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0
[pid  7700] newfstatat(AT_FDCWD, "/srv/dev-disk-by-id-md-name-odroid-md_media/Medien", {st_mode=S_IFDIR|S_ISGID|0775, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0
[pid  7700] newfstatat(AT_FDCWD, "/srv/dev-disk-by-id-md-name-odroid-md_media/Medien/MimasBilder", {st_mode=S_IFDIR|S_ISGID|0775, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0
[pid  7700] openat(AT_FDCWD, "/srv/dev-disk-by-id-md-name-odroid-md_media/Medien/MimasBilder", O_RDONLY|O_NOATIME) = 18
[pid  7700] readlinkat(AT_FDCWD, "/srv/dev-disk-by-id-md-name-odroid-md_media/Medien/MimasBilder", 0x7f4cc1fb60, 4096) = -1 EINVAL (Invalid argument)

I tried changing some of the power user options (e.g. ignore_symlinks) but no change. Any idea what resilio does every 60 seconds?

Link to comment
Share on other sites

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.