TVS-882 Web UI Unusable - "The server is busy or the network is disconnected!"

Hello, hope you’re all well.

Beginning with the previous firmware 5.2.8.???, and worsening severely with the most recent firmware 5.2.9.3499, my TVS-882 ( Intel quad core, circa 2018, 16GB original + 32GB added) has been displaying the following behavior:

When connecting to the Web UI, my browser (Firefox on Windows 10/11, Linux Mint; Chrome on Win 10/11) frequently hangs at “Performing a TLS handshake” with my NAS, using the direct IP or the internal domain I have assigned to it. Sometimes, usually after 40-180 seconds, the UI will load. When I attempt to log in it either takes a few seconds, or it takes several minutes to do the back-and-forth of ‘username’ into ‘password’. When it takes a long time to do the login process, it almost always takes several minutes (3-5) to progress past the blue “loading…” screen and into the UI.

Following that the UI continues to take 30+ seconds to do anything - open an App window, display system information, display the dashboard, etc. It is functionally impossible to use. Similarly, SSH is also impossible - most frequently I don’t get asked for a password before the connection resets, and when I do connect, the connection gets reset within 45 seconds maximum.

I am able to access the NAS directly and get into the CLI (HDMI cable and USB keyboard).

The network is currently set up with two of the four ports connected: one serves as the Main Gateway, and the other is dedicated to VM station (not currently running any VMs). I’m running Ubiquiti hardware for my network stack, and it is handling the DHCP and DNS for my internal network. The NAS ports and VMs are getting the correct IPs, which I have statically assigned via the router (from outside of the DHCP range).

>>I don’t know if it’s related, but when accessing my VMs remotely via the VM Station console, they will also frequently blank out the screen, even on ‘medium’ or ‘low256’.

When I can access the UI (or via CLI) I do not see anything that I’ve been able to identify as a cause:

  • CPU is under 50%
  • Memory is under 10%
  • Network traffic is in the kb/s range
  • No disk usage to speak of

The last major change that I made to the unit was adding Container Station back in January 26, but I never had any containers running. I had removed that, and the issue persists. Prior to that I had the network configured in a 2/2 port trunk - 1+2 was the main gateway, 3+4 for VM Station, but I… honestly didn’t need it? Complete overkill for how little network traffic I have.

I have done the following:

  1. Reset the .qos_config as advised here
  2. Reinstalled the latest firmware manually via CLI as detailed here
    1. I actually thought that this fixed something… for about an hour. Then the message started to happen again.
  3. I’ve stopped and/or removed a few apps that I wasn’t using
    1. Container Station
    2. Qsync
    3. Qsirch
    4. Qfile(?)
    5. A few others, I’m sure…

Not sure what to do next. Data is safe, not that FTP will stay connected for long enough to do anything. Starting the connection from the NAS CLI might work if I need to offload the data. Not sure how to do the VMs though…

Please let me know what other information I can provide to help. Thanks in advance.

So there’s a couple things I can suggest as I have had my TS-873A sometimes go into massively high CPU usage.

First of all, you mention performing a “TLS handshake.” I am assuming then that you are using HTTPS? On your LAN, there is no need. I would not mess with secure web connections over the LAN.

Second, CPU usage is not as important a statistic as CPU Load. The CPU Load number is roughly the number of threads that the CPU is currently processing. The i5-6500 you have in your unit has 4 cores and 4 threads. So any Load number higher than 4 is going to cause a slow-down in your NAS as things start to get bottlenecked. A thread doesn’t have to be taking massive amounts of CPU time either.

To see what is going on, you will need to SSH into your NAS and run the Linux command top

You will get a screen that looks like this:

The Load Average on the third line is the all-important number. In my case here, this is my TS-873A which runs a Ryzen V1500B. It has 4 cores but 8 threads. So anything below 8 and I am good. In your case anything 4 or below will be good. The load values are like 1 minute, 5 minute and 15 minute averages.

With this info then you may end up being able to find out the offending process. But maybe not. So I have another trick for you.

Stop all your apps in app center that you can.
Shut down the NAS until it is completely off.
Power the NAS on.
Restart your apps.

What seems to happen sometimes is that there are zombie threads left over from applications that consume resources. They should die off but they don’t. Stopping and restarting the apps doesn’t seem to clear these as the start/stop process basically returns the app to the previous state. Rebooting doesn’t do it either. You have to actually turn the NAS completely off with the applications stopped.

I have found this to be the case multiple times when updating firmware. QNAP warns when the NAS has been running a long time and suggests a reboot before updating the firmware. I would highly recommend this before any firmware upgrade. I think when upgrading then w/o rebooting can cause stuff to get left out somewhere on its own and those zombie processes just sit there and cause problems. I’ve now been following the reboot then upgrade firmware followed by another reboot and things go much better.

Finally, if you still are having problems, open a support ticket. They will pester you initially with all sorts of questions like, “Are you using third party memory”? Which is a crock. But stick to it and insist that you would like them to get into the machine and clear out zombie processes that are not being killed off by the OS.

I can almost guarantee that you have some of those…

Let us know what your load numbers look like.

On other thing you may want to consider, is that you should be able to pretty easily upgrade the CPU in your NAS. I upgraded my TVS-672XT from an i3 to an i7 and it makes a big difference. Your i5-6500 has a CPU mark of 5600. The i7-8700T has a CPU mark of 10,218 - twice as fast. You can get one of these on eBay for about $80.

Not sure if the i7-8700T is compatible with your socket. I have a TVS-882 and I upgraded to an i7-7700. 4 cores 8 threads 8658 cpumark. Runs great!

Excellent, thank you.

That’s… a good point about TLS over internals. I do have a single port open to the outside, but I don’t have an SSL set up on it anyways, so I’ll turn that off and see if that helps. (… if I could ever get the control panel to load!) Having a single port open to the world for a website is an acceptable level of risk for me.

Okay, top shows… none of the three load stats ever got above 0.85 for me while I was watching it. I let it run for about 30 minutes or so while I poked around on the Web UI and tried to understand what was happening. I noticed that there are a lot of QVS tasks, whatever those are. While poking around the Web UI, Resource monitor showed ~20 zombie processes.

I stopped every app that I could, at which point the Web UI started to work a lot better. I wasn’t entirely paying attention to when it stopped disconnecting so much, I’ll have to pay more attention when I bring them back up. I then let it shut down in full, sit for about 10 minutes, then brought it back up. Still shows 20 zombie processes, with no additional apps started. “python3” and “manaRequest.cgi” are the most of them

Alright, I started Plex server and that seems fine. I started Virtualization Station, and… almost immediately got the pop-up. Time for a support ticket… Joy.

Thanks for the guidance!

Good note about swapping the CPU, I figured it was soldered to the board. I’ll look around for an i7-8700T, that seems like a good option. The 9th gen should also fit, but I think I’ll take 6c12t over 8c8t, even if it is one gen older.