# Syncthing never syncs on FreeNAS with 100% CPU usage

**URL:** https://forum.syncthing.net/t/syncthing-never-syncs-on-freenas-with-100-cpu-usage/8901
**Category:** Support
**Created:** [December 30, 2016, 7:41am UTC](https://forum.syncthing.net/t/syncthing-never-syncs-on-freenas-with-100-cpu-usage/8901 "2016-12-30T07:41:19Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![dhowland](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/d/e99b99/32.png) [@dhowland](https://forum.syncthing.net/u/dhowland)
#### Post date: [December 30, 2016, 7:41am UTC](https://forum.syncthing.net/t/syncthing-never-syncs-on-freenas-with-100-cpu-usage/8901/1 "2016-12-30T07:41:19Z")

</div>

Running FreeNAS 9.10.1 (FreeBSD 10.3) with the ‘official’ syncthing plugin. The plugin is still at 0.14.3 but it autoupdated itself to 0.14.17. I’m trying to sync from a Windows 10 PC. It has never worked. The first shared folder never completes. It stays at 0% sync and the syncthing process is pegged at 100% processor usage on the NAS. It has been going for about a half hour now with only 346 files.

It’s obviously stuck in some kind of infinite loop. This is my first experience with Syncthing. Very disappointed.

---

<div class="post-metadata">

### Author: ![AudriusButkevicius](https://forum.syncthing.net/user_avatar/forum.syncthing.net/audriusbutkevicius/32/277_2.png) [@AudriusButkevicius](https://forum.syncthing.net/u/AudriusButkevicius)
#### Post date: [December 30, 2016, 9:30am UTC](https://forum.syncthing.net/t/syncthing-never-syncs-on-freenas-with-100-cpu-usage/8901/2 "2016-12-30T09:30:02Z")

</div>

Try using the releasefrom github. Number of files doesn’t really matter, total size of files matters more. Syncthing needs to hash the files using a crypigraphic hash to track their content, and if you have a lot of data and a weak cpu, it can take a while.

---

<div class="post-metadata">

### Author: ![dhowland](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/d/e99b99/32.png) [@dhowland](https://forum.syncthing.net/u/dhowland)
#### Post date: [December 30, 2016, 3:11pm UTC](https://forum.syncthing.net/t/syncthing-never-syncs-on-freenas-with-100-cpu-usage/8901/3 "2016-12-30T15:11:18Z")

</div>

It’s 2.08 GB (not huge) and it’s a Xeon server (not weak).

If I look at the target directory on the NAS, everything is there and apparently in the correct size, however they are all renamed to .tmp.

As far as I can tell, it has not stored any logs anywhere. It reports no errors in the webGUI.

It updated itself to this version automatically and without asking me. It should work. If it requires downloads from github, then this solution just isn’t for me.

---

<div class="post-metadata">

### Author: ![AudriusButkevicius](https://forum.syncthing.net/user_avatar/forum.syncthing.net/audriusbutkevicius/32/277_2.png) [@AudriusButkevicius](https://forum.syncthing.net/u/AudriusButkevicius)
#### Post date: [December 30, 2016, 3:39pm UTC](https://forum.syncthing.net/t/syncthing-never-syncs-on-freenas-with-100-cpu-usage/8901/4 "2016-12-30T15:39:39Z")

</div>

It logs stuff to stdout, so probably you have tons of errors there.

---

<div class="post-metadata">

### Author: ![dhowland](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/d/e99b99/32.png) [@dhowland](https://forum.syncthing.net/u/dhowland)
#### Post date: [December 30, 2016, 3:54pm UTC](https://forum.syncthing.net/t/syncthing-never-syncs-on-freenas-with-100-cpu-usage/8901/5 "2016-12-30T15:54:36Z")

</div>

```
Puller (folder "xxxxx-xxxxx", file "Photo/IMAG0594.jpg"): dst create chmod: chmod /mnt/Documents/doom/Desktop/Photo/.syncthing.IMAG0594.jpg.tmp: operation not permitted

```

Error messages like that, over and over.

It’s very strange. The \*.tmp files are owned by the syncthing user account, and when I run it as root, I still see the error messages. What chmod command is it trying to run?

---

<div class="post-metadata">

### Author: ![AudriusButkevicius](https://forum.syncthing.net/user_avatar/forum.syncthing.net/audriusbutkevicius/32/277_2.png) [@AudriusButkevicius](https://forum.syncthing.net/u/AudriusButkevicius)
#### Post date: [December 30, 2016, 3:55pm UTC](https://forum.syncthing.net/t/syncthing-never-syncs-on-freenas-with-100-cpu-usage/8901/6 "2016-12-30T15:55:22Z")

</div>

You probably have ACL issues.

---

<div class="post-metadata">

### Author: ![dhowland](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/d/e99b99/32.png) [@dhowland](https://forum.syncthing.net/u/dhowland)
#### Post date: [December 31, 2016, 2:27am UTC](https://forum.syncthing.net/t/syncthing-never-syncs-on-freenas-with-100-cpu-usage/8901/7 "2016-12-31T02:27:14Z")

</div>

Perhaps. I just set “Ignore permissions” and was able to get it to work.

It seems to me that this should be considered a bug. The interface gave no indication that there was a problem setting permissions on the filesystem. It seems the software was perfectly happy to simply retry the operations forever while leaving progress at 0% and using one of my cores at max capacity. There should have been a failure or an error message in the webGUI.

---

<div class="post-metadata">

### Author: ![AudriusButkevicius](https://forum.syncthing.net/user_avatar/forum.syncthing.net/audriusbutkevicius/32/277_2.png) [@AudriusButkevicius](https://forum.syncthing.net/u/AudriusButkevicius)
#### Post date: [December 31, 2016, 9:01am UTC](https://forum.syncthing.net/t/syncthing-never-syncs-on-freenas-with-100-cpu-usage/8901/8 "2016-12-31T09:01:31Z")

</div>

Its a bug with whoever provides the plugin with wrong ACLs. The UI does show an error saying its not making any progress, check the logs.

---

<div class="post-metadata">

### Author: ![dhowland](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/d/e99b99/32.png) [@dhowland](https://forum.syncthing.net/u/dhowland)
#### Post date: [January 2, 2017, 8:31pm UTC](https://forum.syncthing.net/t/syncthing-never-syncs-on-freenas-with-100-cpu-usage/8901/9 "2017-01-02T20:31:17Z")

</div>

I respectfully disagree. The bug is not that there were permission issues. The bug is that a permission issue was not reported to the user as a failure. I know that if it can’t create the files in the first place it will report a failure, however apparently the chmod does not.

---

<div class="post-metadata">

### Author: ![dhowland](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/d/e99b99/32.png) [@dhowland](https://forum.syncthing.net/u/dhowland)
#### Post date: [January 2, 2017, 8:55pm UTC](https://forum.syncthing.net/t/syncthing-never-syncs-on-freenas-with-100-cpu-usage/8901/10 "2017-01-02T20:55:53Z")

</div>

Reported as #3865

---

<div class="post-metadata">

### Author: ![system](https://forum-uploads.syncthingcdn.net/original/2X/0/0b50e0a202b22ae6a67190759e8c868805b8ed9f.png) [@system](https://forum.syncthing.net/u/system)
#### Post date: [February 1, 2017, 9:06pm UTC](https://forum.syncthing.net/t/syncthing-never-syncs-on-freenas-with-100-cpu-usage/8901/11 "2017-02-01T21:06:21Z")

</div>

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