Jump to content

[Solved] Slowdowns - I think only SMB related? [TLDR, Windows File History was the culprit]


Recommended Posts

Hi All,

 

Been an Unraid user and lurker for a while now.

 

Recently i've started to get extremely slow responsiveness that only seems to be fixed by a reboot of the unraid server. Nothing in my server has changed short of having more data.

 

Basically it grinds to a halt when transferring stuff or from the server over the network. The whole navigation and even the 'preparing documents for copy' part is extremely slow and the  file transfers themselves see constant speed ups/slow downs to 0. File sizes seem irrelevant, whether a couple hundred MB up to multiple GB...Transfer speeds usually in the vicinity of 2 to 3 MB/s instead of 110 like it always used to.

 

I've tried changing to cache/no cache for shares. I've switched my SABNzbd to downloading straight to the cache (previously straight to array) but that hasn't changed anything.

 

I'm unsure if it's time related or somehow SAB is doing it...I noticed it recently happening very quickly after i've pushed a couple shows to SAB via radarr/sonarr. I can confirm that the serve is not unpacking anything at the time and it stays like this until i reboot...It may be a coincidence but NFI really if it's got anything to do with SAB.

 

This is a snippet of usual transfer speed/look...Sorry, i got impatient with letting it run longer to show but the trend never changes

 

u4woqwH.png

 

I have attached the diagnostics for those who can have a look and help please. Much appreciated. (i've also installed various plugins to see if any change but nothing)

jnas-diagnostics-20220422-1209.zip

Edited by jpw007
Link to comment
14 minutes ago, JorgeB said:

Diags are not taken during the write, but disks 1 and 2 and SMR, do you get the same slow speeds when transferring to disks 3 or 4? If yes post new diags grabbed during a transfer.

I don't specifically write to drives, only to my shares (I thought that was bad practice so never have tbh). It happens read or write, and it's specifically fine after a reboot. Experience it whether writing direct to array or to cache.

 

Will definitely grab a diag whilst writing to array when i get the issue happening again. I'm just working atm so can't, but i'm pretty confident i can trigger it by getting sonarr/radarr to to start a new download. Thank you

Edited by jpw007
Forgot my manners
Link to comment
2 hours ago, JorgeB said:

It's not as long as you know what you're doing, you can also temporarily limit a share to certain disks just for testing.

Oh, yes, the latter is a great idea and something i forgot about. I haven't needed to dive into settings in ages now.

 

Quick screenshot and dump from current transfer. Been going for ages and as you can tell it slowed for ages and then somehow sped up to a lower max and is slow again (I definitely would have exhausted cache by this stage but i checked and it's empty because mover runs every 2hrs and so this has taken so long it's kicked in...)

Screenshot 2022-04-22 203956.png

jnas-diagnostics-20220422-2038.zip

Edited by jpw007
Link to comment

I think i might be getting somewhere. I noticed that I think it may actually be Disk 4 (sdd) that could be the issue? I noticed both a file being pulled from it had issues and also trying to play a video using VLC also suffered significant stutters. I'm running a full smart report on it now. It's about 1 month old the disk. Interestingy though it's currently reading internally at 100MB/s as it looks to be writing something to parity. Maybe I should also force a party check and see. (EDIT: Unless that's the smart report causing the reads...I did forget about that when  i saw it..EDIT2: Actually a smart wouldn't get reads and writes on other disks. Now i'm a bit lost)

Edited by jpw007
Link to comment
21 minutes ago, JorgeB said:

Again there's something reading from disk3, writes with Unraid will be considerably slower any time there are writes to other disks or reads from the same disk it's writing to.

Tbh I’ve never experienced issues like this and have had unraid for over 2yrs. Its a very sudden change and it’s not just when server is being used, often im the only user and its super slow which is why its abnormal and has me stumped

Link to comment

Ok so an update. I discovered the handy little plugin called "Dynamix Active Streams".

 

With it i was watching what was accessing the server via the network. I use File History of Windows and that share was being accessed. I disabled it in Windows and instantly everything went back to normal.

 

I've run file history for ages but never had an issue so not sure why it started just now, but despite not writing much to the server it was absolutely choking the network...(write speeds were really low but it still crippled it).

 

So after all this it now appears to be resolved. I might have to test it again to see whats up if it's still acting this way. but it definitely explained why it seemed to happen within an hour as it was setup for hourly snapshots (which also should have been pretty minimal in size)

Link to comment
  • jpw007 changed the title to [Solved] Slowdowns - I think only SMB related? [TLDR, Windows File History was the culprit]

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...