I'm suffering from this problem for a few weeks, having no idea what to do now...
First, this is my Nas info:
System: OMV5
CPU: AMD Ryzen 3 5300GE
Motherboard: Asus b450m PRO GAMING (2.5G)
Drive: 4 x 2TB SSD
Memory: 64GB
The thing is, I use 1G router in my home network, NAS is connected to it using cable, this works great, I can view any movie up to 80m/s on my phone using SMB or SFTP.
Weeks ago I run a script to update all docker containers on NAS, including qbittorent, jellyfin, sonarr and etc., and update system packages. Days later I found it stucks when I open a Blu-ray movie on my phone. So I checked network status (MXPlayer on phone) and it shows only 500kb/s. The problem solved by reboot NAS, but if I drag progress bar too quick or many times, it reproduces again, can't recover until reboot... I also found after downloading movies using qbittorrent for hours, it happens.
So I tried:
Looking into the system log and other logs under /var/log/, but nothing related is reported in logs.
Using different file sharing protocol, smb, ftp, sftp, ftps, when the problem happens, they all transfer at around 500kb/s.
Looking into result of ethtool, it shows the network is at 1000M/s level.
Use iperf3, the network from NAS can go up to 958MB/s both tx and rx, but 7MB/s when the problem reproduces.
Copy a large file on drive A to and from drive B, average speed is 200Mb/s.
Using netstat to see packet loss, but it shows 0% loss.
I'm currently using a stupid solution: script to reboot at mid night... But it interrupts a lot of task of my services.
So, is there any tool or way I can try to solve it? Thanks!!!!
Dude, first of all: get your units straight. You throw stuff around which doesn’t exist (like „m/s“ or „M/s“, meters per second?), so without making sure that YOU know what unit you really mean, WE cannot know what unit you really mean. To be able to analyze a problem means that the problem itself is described precisely.
8 Mbits/s = 1 Mbyte/s . So make clear what you mean.
Also: what should we do with your imprecise description on what you have done?
Does it come back full speed directly after a reboot ? Transfer many files over the day and log your speed output, see if there is a pattern when it drops, eg time of day or time since reboot.
Nice troubleshooting steps, even though you're (still) mixing up some units ;)
I'm guessing something in the network card or its driver, or an issue in your network (congestion, flooding?).
Any chance you can manually reload/restart the networking system? I don't know about OMV but on a linux distro it's usually a matter of restarting networking/NetworkManager etc.