October 23Oct 23 Started as Plex streams freezing. Sometimes waiting it out works, plex shows buffering. Sometimes starting the stream over is all that works. Then directly play (double-clicking on a video in Windows Explorer and playing in VLC) started freezing. File transfers often hang for minutes, where the bits per second drop to zero for 60, 90, 120, 300 seconds at a time. That happens regularly during large transfers, almost in a pulse-like manner. Sometimes shares just disappear or become suddenly unavailable.This has happened for 10+ years.At first I thought it was the clients, then the network. Gigabit, 10 gigabit, wireless, new cables, new clients, PCs, Rokus, laptops.I recently moved. Literally the only thing left of my original home network is the unraid server. Every single other thing has changed. And even that just got an upgrade, new MB and new CPU and new RAM. Controller, cables, and hard disks, plus USB stick and original configs are the only things remaining that have been common over the past decade+But these issues persist.I don't even know where to begin troubleshooting this.
November 5Nov 5 Author Happening now. Extremely large file transfers (over 2+ hours of time remaining) are all failing. Anything in the 0-90 minute ETA (ish) are working fine. Has to be the same thing. The smb share is resetting, or something.... ffs2-diagnostics-20261104-2057.zip
November 5Nov 5 Author I had AI analyze the logs and apparently the LSI controller is stuck in 1x, although its been in three different motherboards and I'm not sure what's going on here. Its also old AF with a super old (and no longer supported) BIOS and I just bought a much newer model to replace it with. We'll see if that helps. It and its cables are one of the few common denominators across all the various iterations of this server.
November 5Nov 5 The x1 link is real, but the HBA is not stuck: both the HBA and the 10GbE NIC are in slots that are wired as PCIe x1 on that board. On a B550 board with a Ryzen 3000 CPU only the first x16 slot connects to the CPU, and your GPU is using it. The other slots go through the chipset, so a new HBA in the same slot will also link at x1.With x1 at PCIe 2.0 all 15 disks share roughly 400-500MB/s. A parity write needs about four disk operations for each block written, so a single large write to the array can use all of that bandwidth. Plex reads, a running transcode, and other transfers then have to wait. This can explain the stalls and the stream freezes. A parity check is also limited by this.Please try this first, before the new HBA arrives:1. Swap the HBA and the GPU: put the HBA in the top x16 slot, and the GPU in another slot. Transcoding works with less PCIe bandwidth, so the GPU is fine in a chipset slot. Check the board manual for slot lane sharing, for example with the second M.2 slot.2. After booting, confirm the HBA links at x8: lspci -vv -s $(lspci | awk '/SAS2116/{print $1}') | grep LnkSta3. Repeat one of the large transfers that failed before.Also, most of your shares write directly to the array, not to the cache pool. When a large copy goes to one of those shares over 10GbE, the server buffers it in RAM and then has to write it to the array at array speed. The client can see long pauses at zero during that time. Please tell us:- The source and destination of the transfers that fail, and which share they go to.- The exact error that Windows shows, and about what time it failed.- Whether the same copy works when it goes to a share that uses the cache pool.If it still fails after the slot change, post new diagnostics right after the failure.
November 5Nov 5 Author I am downloading AI model images to the AI share (16gb to 1.6tb in size). The machine that is downloading has a mapped SMB share on the server and is writing to that. The smaller files seem to go fine; the larger ones, as stated, fail, and need to be re-started. I am using LM Studio so the download just picks up where it left off. I know there are a lot of variables in this particular transfer, but when I combine that with the other issues... I've posted here before many times, with other SMB shares and Windows clients, copying to or from the unraid server, the windows file transfer starts off strong and then eventually slows to a trickle (a few kb/s) and often simply pauses complete (0 bytes per second). That pause lasts some random period of time, up to several minutes, before the transfer continues. Form that point on, its a constant up and down thing -- speed, slow, pause, speed, slow, pause, speed, slow pause. I have tried this with and without writing to cache. In this system, all of the spinners are on the LSI. The cache is two nvme drives on the MB and a handful of SSDs on the MB's SATA ports. Combining all of this with the Plex stalls, there is some sort of transfer stall somewhere. For a decade or more now, I've experienced it in some manner. For years I blamed Samba. I have a secondary unraid server that I use to back up parts of my primary, with shares mapped via NFS, and those never have any issues at all, using rsync to transfer.The file transfer issues I am speaking of occur when a parity check is not being done. I haven't had any issues or errors in a parity check in years. And at the very end, average speeds have been the same for a very, very long time now.
November 5Nov 5 Your diagnostics show that the AI share has "Use cache" set to No, so these downloads write directly to the array.At the time of the diagnostics, the array was writing at about 42 MB/s to disk2 and parity. This is a normal speed for parity writes, and it is much slower than a fast download or a 10GbE copy. When data arrives faster than that, the server holds it in RAM and then has to write it out at array speed. The client can see long pauses during that time.I must correct something from my last post. That write used only about 180 MB/s of the x1 link, so the link did not limit it. The disks did. The x1 link is still worth fixing, because everything on the array shares it, but the slot swap may not stop the stalls alone. Also, your diagnostics do not show a stall in progress, so I cannot confirm the cause yet.Please do these tests:1. Swap the HBA and the GPU as described before, and confirm that the HBA links at x8.2. Open a terminal on the server and run this command during a transfer:watch -n 5 "grep -E '^(Dirty|Writeback):' /proc/meminfo"3. When a transfer stalls, look at that output and at the disk activity on the Main page. Then download new diagnostics while the stall continues, and post them with the values you saw.4. Copy a 100-200 GB file to a share that uses the cache pool. This copy does not use the array until the mover runs, so tell us if it stalls too.5. Copy a large file from the server to a local SSD on the client while nothing else is writing to the array. Plex must be idle during this test. Writes cannot explain a stall in this test, so a stall here points to a different cause.Also note these two items:- A file cannot span array disks. Only disks 9, 10, 11, and 14 have more than 1.6 TB free, and high-water can put a new file on a disk with less free space than that. A 1.6 TB file on such a disk will fail when the disk is full. Before you download files of that size, limit the share to disks with enough free space with "Included disk(s)" or set a higher minimum free space for the share.- After the HBA is out of the x1 slot, you can try "reconstruct write" for md_write_method in Settings > Disk Settings. It can increase array write speed, but all the disks must spin. Do not use it while the HBA is in the x1 slot, because all 15 disks would share that link.Please also tell us:- The exact error that LM Studio shows when a download fails.- Your internet download speed.- The direction of the rsync job to the second server. If it only reads from this server, the job does no parity writes here, so it does not rule out the array.
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.