I am trying to use Syncthing via a docker container in Unraid to sync files from a remote server to my own. The remote server is 10Gbit, and Syncthing works at 400Mbps+ to other devices in my local network (tested via Syncthing on Synology NAS). On my Unraid server the speeds start at ~250Mbps then drops to 2-5Mbps within 10 seconds. I have a post open on the Unraid forums as well to help if it is related to Unraid/Docker rather than Syncthing.
- Unraid version: 6.9.0-beta35
- Hardware: Ryzen 5600x with 32GB memory
- Main array: 4x 14tb 7200rpm drives, 1 set as parity.
- Cache array: 2x Samsung 970 Evo Plus M.2 500GB
Troubleshooting attempted so far
- Set the Unraid share used by Syncthing to public, confirmed I could read and write from/to the share via SMB to a Windows PC at a consistent 110MB/s.
- For troubleshooting purposes, set the share to Cache only and confirmed all files are on the cache array.
- Ran the “Docker Safe New Perms” tool
- Ran Fix Common Problems + Tips and Tweaks - all is as recommended, no issues
- Searched the syncthing forums and google, found other references to issues with Syncthing on Unraid but no resolution threads.
- Confirmed CPU and Memory are good, both are extremely low usage
- Checked the Unraid syslog, no warnings or errors that seem related
- Recreated the Syncthing container
- Followed tweaking guides - changed tunable (md_write_method) to reconstruct write and tunable (md_num_stripes) to 8192. I don’t think these matter since I have the share set to cache only though.
- Verified no smart errors
- Set dynamix ssd trim to run daily
- Gave full permissions to appdata in case permissions issue - chmod -R 777 /mnt/user/appdata/syncthing/
- Confirmed SyncThing versions match (1.11.1 on both sides)
- Confirmed UPnP is properly creating the port forwarding on my router (it is forwarding a port above 40000 to my internal port 22000 on the receiver side)
- Increased logging and reviewed - found failed to exchange Hello messages warnings, unsure if this is a concern as it relates to slow speeds.
- Manually created a port forward on router on receive side: source ip [internal ip of server], external port 22000, internal port 22000
- Confirmed Relay is not being used by checking the “Address” section under “Remote Devices” on the sender and receiver side. Both list the IP:Port directly without a “relay://” before them
Any help or tips to resolve this would be appreciated. Thanks in advance!