# Load 39.5 after unpausing five Syncthing folders at once

my NAS is a 2010 laptop with an i3 M330, an SSD and an old Seagate. I set up Syncthing between it and my Windows drive, six folders, and unpaused five of them at once, about 240 GB to hash.

the NAS kept answering ping. it accepted TCP on 22, 445 and 22000. and nothing behind those ports answered. ssh died at:

```
Connection timed out during banner exchange
```

SMB listings timed out and Windows showed the NAS as disconnected. when ssh finally came back, tens of minutes later, the load average was 39.5.

the cause is my inference, not something I measured: hashing five big folders at once, much of it on the slow Seagate, starved everything else on the box.

## the throttle

stop the service, set every folder to paused in `config.xml`, then add a drop-in so Syncthing can't take the whole machine again:

```ini
# /etc/systemd/system/syncthing@.service.d/throttle.conf
[Service]
Nice=15
IOSchedulingClass=idle
CPUQuota=200%
```

and [`maxFolderConcurrency=1`](https://docs.syncthing.net/users/config.html#config-option-options.maxfolderconcurrency) in Syncthing's options, so only one folder scans at a time. then unpause one folder, watch it until it's idle, then the next.

with that, the full first sync, 87,000 files, took about two hours of scanning. both sides were already identical, so it moved only the index: 113 MB in, 54 MB out.

## rules I kept

- never unpause more than one big folder at a time
- don't poll folder status in a loop during a scan. the status API slows down too
- after a "pause everything", make a checklist. I left one folder paused and didn't notice until the end

## one more: a watcher can die quietly

the same day, a new file on the Windows side wasn't picked up for over five minutes. the folder said `idle`, `watchError` was empty, and another folder kept working. pausing and unpausing that one folder brought the watcher back. without that, the hourly rescan is the only net, so a dead watcher costs up to an hour.

---

see also: [SMART said PASSED](/articles/smart-passed-2184), [Arabic file names on ext4](/articles/arabic-filenames-ext4)
