You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Regression (since 2.1.0): very slow scanning when dealing with identical files #10869
Creating a new issue since #10777 was closed, I cannot reopen it, my requests to reopen it (here and here) were ignored, and the regression was not fixed.
I can provide new support bundles when the final release of 2.1.4 with #10849 is out.
We're seeing a similar pattern and can add a data point.
Setup: Migrated from Syncthing v1.30.0 to v2.1.3, folder shares a Drupal codebase with roughly 38k files (large mix of small files, incl. a media/asset tree).
We initially suspected a Drupal-specific cache directory (files/php/twig) as the cause of high CPU/scan load, since it's rewritten very frequently by the application. We added it to .stignore to rule it out.
However, even with that directory excluded, the hourly full rescan (rescanIntervalS) still causes sustained high CPU usage and drives the host into heavy swap usage for the duration of the scan. This didn't happen under v1.30.0 with the same folder structure and scan interval.
Happy to provide a support bundle if useful, and can also try disabling "Block Indexing" per the folder advanced settings if that's a plausible avenue worth testing on our end.
Possibly related: on our largest node the slow scans coincide with the crashes described in #10913
(runtime: out of memory in the scanner, caused by ~19k 64 KiB SQLite-allocator mappings hitting vm.max_map_count). Full scans on that node currently take roughly 30–45 min each and run hourly
(rescanIntervalS=3600), so the process spends about half its time walking the tree while hashing
almost nothing.
Activity
moerkey commentedon Aug 26, 2026
We're seeing a similar pattern and can add a data point.
Setup: Migrated from Syncthing v1.30.0 to v2.1.3, folder shares a Drupal codebase with roughly 38k files (large mix of small files, incl. a media/asset tree).
We initially suspected a Drupal-specific cache directory (files/php/twig) as the cause of high CPU/scan load, since it's rewritten very frequently by the application. We added it to .stignore to rule it out.
However, even with that directory excluded, the hourly full rescan (rescanIntervalS) still causes sustained high CPU usage and drives the host into heavy swap usage for the duration of the scan. This didn't happen under v1.30.0 with the same folder structure and scan interval.
Happy to provide a support bundle if useful, and can also try disabling "Block Indexing" per the folder advanced settings if that's a plausible avenue worth testing on our end.
moerkey commentedon Oct 7, 2026
Possibly related: on our largest node the slow scans coincide with the crashes described in #10913
(
runtime: out of memoryin the scanner, caused by ~19k 64 KiB SQLite-allocator mappings hittingvm.max_map_count). Full scans on that node currently take roughly 30–45 min each and run hourly(rescanIntervalS=3600), so the process spends about half its time walking the tree while hashing
almost nothing.
docs: add ISSUES.md and PRs.md, the upstream tracking maps
docs: add ISSUES.md and PRs.md, the upstream tracking maps
docs: add ISSUES.md and PRs.md, the upstream tracking maps
docs: add ISSUES.md and PRs.md, the upstream tracking maps
docs: add ISSUES.md and PRs.md, the upstream tracking maps
docs: add ISSUES.md and PRs.md, the upstream tracking maps
docs: add ISSUES.md and PRs.md, the upstream tracking maps
docs: add ISSUES.md and PRs.md, the upstream tracking maps
docs: add ISSUES.md and PRs.md, the upstream tracking maps
docs: add ISSUES.md and PRs.md, the upstream tracking maps
docs: add ISSUES.md and PRs.md, the upstream tracking maps
docs: add ISSUES.md and PRs.md, the upstream tracking maps
docs: add ISSUES.md and PRs.md, the upstream tracking maps
docs: add ISSUES.md and PRs.md, the upstream tracking maps
docs: add ISSUES.md and PRs.md, the upstream tracking maps
docs: add ISSUES.md and PRs.md, the upstream tracking maps
docs: add ISSUES.md and PRs.md, the upstream tracking maps
docs: add ISSUES.md and PRs.md, the upstream tracking maps