Running Syncthing with low resources

Hi everybody,

I recently purchased a $20 Pogoplug, because I heard it could run Arch Linux, and I wanted to try setting up a really cheap Syncthing server. Now, this obviously is a low-resource environment, and I’ve had some problems with Syncthing.

What I’m getting is connections opening and closing, because the device is slow. It’ll connect to another node, and then within a minute or so, it’ll close the connection with a ping timeout or a connection reset by peer. Obviously, this severely impacts syncing.

In order to conserve resources, I’ve installed syncthing-inotify and have set the rescan intervals all to 0. This should turn off all scanning, correct?

Now I’m getting this in the syncthing-inotify logs:

 Oct 19 15:20:15 K7 syncthing-inotify[231]: [WARNING] Cannot connect to Syncthing: Get http://0.0.0.0:8384/rest/404: dial tcp 0.0.0.0:8384: connection refused
Oct 19 15:21:07 K7 syncthing-inotify[231]: [OK] Watching afc-share: /share/afc-share
Oct 19 15:21:13 K7 syncthing-inotify[231]: [OK] Watching config: /share/config
Oct 19 15:21:13 K7 syncthing-inotify[231]: [OK] Watching julia-movies: /share/julia-movies
Oct 19 15:21:13 K7 syncthing-inotify[231]: [OK] Watching mobile-docs: /share/mobile-docs
Oct 19 15:21:13 K7 syncthing-inotify[231]: [OK] Watching stories: /share/stories
Oct 19 15:21:13 K7 syncthing-inotify[231]: [OK] Syncthing is indexing change in julia-movies: [.stfolder]
Oct 19 15:21:13 K7 syncthing-inotify[231]: [OK] Syncthing is indexing change in stories: [.stfolder]
Oct 19 15:21:14 K7 syncthing-inotify[231]: [OK] Syncthing is indexing change in mobile-docs: [.stfolder]
Oct 19 15:21:15 K7 syncthing-inotify[231]: [OK] Watching pictures: /share/pictures
Oct 19 15:21:16 K7 syncthing-inotify[231]: [OK] Watching personal: /share/personal
Oct 19 15:21:20 K7 syncthing-inotify[231]: [OK] Watching music: /share/music
Oct 19 15:21:20 K7 syncthing-inotify[231]: [OK] Watching learn-share: /share/learn-share
Oct 19 15:21:20 K7 syncthing-inotify[231]: [OK] Watching docs: /share/docs
Oct 19 15:21:21 K7 syncthing-inotify[231]: [OK] Syncthing is indexing change in learn-share: [.stfolder]
Oct 19 15:21:40 K7 syncthing-inotify[231]: [OK] Syncthing is indexing change in docs: [.stfolder]
Oct 19 15:21:44 K7 syncthing-inotify[231]: [OK] Syncthing is indexing change in afc-share: [.stfolder]
Oct 19 15:24:14 K7 syncthing-inotify[231]: [WARNING] Failed to perform request Post http://0.0.0.0:8384/rest/db/scan?folder=config&next=3600&sub=.stfolder: read tcp 127.0.0.1:8384: use of closed network connection
Oct 19 15:24:15 K7 syncthing-inotify[231]: [WARNING] Failed to perform request Post http://0.0.0.0:8384/rest/db/scan?folder=pictures&next=3600&sub=.stfolder: read tcp 127.0.0.1:8384: use of closed network connection
Oct 19 15:24:17 K7 syncthing-inotify[231]: [WARNING] Failed to perform request Post http://0.0.0.0:8384/rest/db/scan?folder=personal&next=3600&sub=.stfolder: read tcp 127.0.0.1:8384: use of closed network connection
Oct 19 15:24:20 K7 syncthing-inotify[231]: [WARNING] Failed to perform request Post http://0.0.0.0:8384/rest/db/scan?folder=music&next=3600&sub=.stfolder: read tcp 127.0.0.1:8384: use of closed network connection

Anybody have any other ideas I can try to get this going? Thanks!

Try the beta, which fixes an issue with timeouts. I can tell ahead of time that it will be a very poor experience, as the CPU will have the maximum throughput of a few MB for hashing.

Unfortunately, I don’t have control of all the devices syncing to this, so using the beta would just disconnect it from everybody. This, of course, might fix the problem, but not in a useful way. :smile:

You can try increasing ping timeout in the config, but again, you need to do that in the cluster, not on one device, as that won’t yield anything.

I can do that for some nodes. I’ll try that. Thanks!

I’m also running syncthing on pogoplug v3. I did not experience any troubles.

Are you using all default settings? Was there anything you had to do to the configuration to help keep it online? I’m still getting connects/disconnects frequently in the logs, for machines on the same network that I know should not be disconnecting.

I am using the default setting.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.