Lost Connection to SABnzbd - Unable to Determine the Cause [k3s Kubernetes, NFS]
Posted: June 29th, 2025, 8:07 pm
I am having an issue where my sabnzbd frequently shows this disconnect message on the web interface. This also lines up with the app not taking API requests. It can last for 15 - 90 seconds. No rhyme or reason that I can see.
I usually run this workload in a k3s Kubernetes cluster. The container has access to 4 full CPU cores at burst and 6GB or memory. I never see it as memory or cpu constrained. I use a host temp disk for the download which is a new NVME SSD. Once the download completes it is moved to my TrueNAS NFS share. I only have an aggregated dual 1 GB (2GB theoretical total) link to the true NAS server, but it should be sufficient if slower than id like. This disconnect happens every almost every download. It seems to happen when unpacking or moving files.
Thinking this was some sort of issue with Kubernetes or Docker, I also setup SABnzbd on a bare metal ubuntu install with an Intel Core i9, 32GB memory and a 1TB NVME SSD. I have the same issue, disconnects on the web interface as well as api not accepting calls for several seconds.
This also seems to line up with significantly reduced download performance. Could the upload / download be maxing out the bandwidth on the 1GB link? How can I shape this if that is the case..
Finally - I have tried pausing download during post processing - this does not seem to help of affect the behavior at all.
I enabled Debug+ logs and I dont see any errors / warnings or odd messages.
Here are the status screen scores for the kuberbetes workload:
Used cache 0 B (0 articles)
System load 3.21 | 2.27 | 2.54 | V=145M R=90M
System performance (Pystone) 666243 Linux-6.14.6-400.asahi.fc42.aarch64+16k-aarch64-with NEON
Download folder speed 2198.8 MB/s /downloads/incomplete
Complete folder speed 43.3 MB/s /completed
Internet Bandwidth 0 MB/s 0 Mbps
Platform Alpine Linux v3.21
Here are the status screen scores for the bare metal ubuntu box:
Used cache 0 B (0 articles)
System load 2.50 | 2.12 | 1.83 | V=7682M R=184M
Download speed limited by Disk speed (57x)
System performance (Pystone) 632676 Intel(R) Core(TM) i9-10900KF CPU @ 3.70GHz AVX2
Download folder speed 1197.1 MB/s /opt/config/sabnzbdplus/Downloads/incomplete
Complete folder speed 41.9 MB/s /media/sabnzbd/complete
Internet Bandwidth 94.86 MB/s 758.88 Mbps
Platform Ubuntu 24.04.2 LTS
Not 100% sure on the procedure for attaching logs but happy to attach or send out debug logs.
I usually run this workload in a k3s Kubernetes cluster. The container has access to 4 full CPU cores at burst and 6GB or memory. I never see it as memory or cpu constrained. I use a host temp disk for the download which is a new NVME SSD. Once the download completes it is moved to my TrueNAS NFS share. I only have an aggregated dual 1 GB (2GB theoretical total) link to the true NAS server, but it should be sufficient if slower than id like. This disconnect happens every almost every download. It seems to happen when unpacking or moving files.
Thinking this was some sort of issue with Kubernetes or Docker, I also setup SABnzbd on a bare metal ubuntu install with an Intel Core i9, 32GB memory and a 1TB NVME SSD. I have the same issue, disconnects on the web interface as well as api not accepting calls for several seconds.
This also seems to line up with significantly reduced download performance. Could the upload / download be maxing out the bandwidth on the 1GB link? How can I shape this if that is the case..
Finally - I have tried pausing download during post processing - this does not seem to help of affect the behavior at all.
I enabled Debug+ logs and I dont see any errors / warnings or odd messages.
Here are the status screen scores for the kuberbetes workload:
Used cache 0 B (0 articles)
System load 3.21 | 2.27 | 2.54 | V=145M R=90M
System performance (Pystone) 666243 Linux-6.14.6-400.asahi.fc42.aarch64+16k-aarch64-with NEON
Download folder speed 2198.8 MB/s /downloads/incomplete
Complete folder speed 43.3 MB/s /completed
Internet Bandwidth 0 MB/s 0 Mbps
Platform Alpine Linux v3.21
Here are the status screen scores for the bare metal ubuntu box:
Used cache 0 B (0 articles)
System load 2.50 | 2.12 | 1.83 | V=7682M R=184M
Download speed limited by Disk speed (57x)
System performance (Pystone) 632676 Intel(R) Core(TM) i9-10900KF CPU @ 3.70GHz AVX2
Download folder speed 1197.1 MB/s /opt/config/sabnzbdplus/Downloads/incomplete
Complete folder speed 41.9 MB/s /media/sabnzbd/complete
Internet Bandwidth 94.86 MB/s 758.88 Mbps
Platform Ubuntu 24.04.2 LTS
Not 100% sure on the procedure for attaching logs but happy to attach or send out debug logs.