Ajedi32
Dabbler
- Joined
- Oct 30, 2016
- Messages
- 28
I just finished a new home server build with FreeNAS, and I'm getting ridiculously slow performance on pretty much everything. Simple commands (ls, whoami) entered into the terminal through the physical keyboard attached to the server take several seconds to complete, and more complex operations (like loading the WebGUI) can take up to a minute, if they complete at all before timing out.
The problem seems to be related to the Syncthing plugin: whenever I'm running it, everything is extremely slow. When I stop the jail, performance returns to normal. Syncthing doesn't appear to be doing anything out of the ordinary though; the performance metrics under the "Reporting" section of the WebGUI seem normal, and Syncthing does not appear to be using an unusual amount of RAM or CPU. Plus I have a near-identical setup running on an older FreeNAS system and Syncthing does not seem to cause poor performance when installed there.
System info:
FIXED: I actually _just_ fixed this as I was typing the post, but I'm gonna post it anyway in case someone else has the same problem.
Syncthing has a (somewhat new) feature that allows it to watch for changes to files rather than periodically scan for them. I don't know why, but it seems this feature was what was causing the issue; I turned it off for all folders on my server and performance returned to normal. Then I tried enabling it for a couple folders on my old FreeNAS server and performance there quickly tanked.
If someone wants to investigate this further to find out why Syncthing's watch feature is causing massive performance issues, be my guest. I've spent more than enough time on this already though; so I'm content to leave it as that.
The problem seems to be related to the Syncthing plugin: whenever I'm running it, everything is extremely slow. When I stop the jail, performance returns to normal. Syncthing doesn't appear to be doing anything out of the ordinary though; the performance metrics under the "Reporting" section of the WebGUI seem normal, and Syncthing does not appear to be using an unusual amount of RAM or CPU. Plus I have a near-identical setup running on an older FreeNAS system and Syncthing does not seem to cause poor performance when installed there.
System info:
FIXED: I actually _just_ fixed this as I was typing the post, but I'm gonna post it anyway in case someone else has the same problem.
Syncthing has a (somewhat new) feature that allows it to watch for changes to files rather than periodically scan for them. I don't know why, but it seems this feature was what was causing the issue; I turned it off for all folders on my server and performance returned to normal. Then I tried enabling it for a couple folders on my old FreeNAS server and performance there quickly tanked.
If someone wants to investigate this further to find out why Syncthing's watch feature is causing massive performance issues, be my guest. I've spent more than enough time on this already though; so I'm content to leave it as that.