Hi,
I am running the latest LE (10.0.0.2) with the latest FW for my Rpi4 (with the uHAT and TVH installed)
The problem I am facing is that when I start watching a recorded video or when I am watching it (typically, max 10 minutes after I start), everything stops.
In the logs I can see many messages stating that NFS server is down (I record videos to my NAS):
Apr 13 22:29:42 LibreELEC kernel: nfs: server 192.168.1.120 not responding, still trying
Apr 13 22:29:42 LibreELEC kernel: nfs: server 192.168.1.120 not responding, still trying
Apr 13 22:29:42 LibreELEC kernel: nfs: server 192.168.1.120 not responding, still trying
I don't have any WiFi issues, at least, by monitoring the WiFi I see connection is seen as UP, with a good DBm. What I saw some days ago is that the MAC address of the NAS was seen as "incomplete" in the ARP table, so I created a script that would bring wifi down and up when this would occur. It works but I still get disruption of the service.
Yesterday, though, the MAC was there in the table and WiFi was up, as you can see here below (the fields show Time, DBm, connection status, MAC of the NAS, MAC of another Raspberry I have: I send statistics to a Grafana server located there)
Wed Apr 13 22:27:07 CEST 2022,-50,yes,24:5e:be:3a:9e:dd,b8:27:eb:ca:5d:2d
Wed Apr 13 22:27:22 CEST 2022,-49,yes,24:5e:be:3a:9e:dd,b8:27:eb:ca:5d:2d
Wed Apr 13 22:27:37 CEST 2022,-49,yes,24:5e:be:3a:9e:dd,b8:27:eb:ca:5d:2d
Wed Apr 13 22:27:52 CEST 2022,-50,yes,24:5e:be:3a:9e:dd,b8:27:eb:ca:5d:2d
Wed Apr 13 22:28:07 CEST 2022,-50,yes,24:5e:be:3a:9e:dd,b8:27:eb:ca:5d:2d
Wed Apr 13 22:28:22 CEST 2022,-50,yes,24:5e:be:3a:9e:dd,b8:27:eb:ca:5d:2d
Wed Apr 13 22:28:37 CEST 2022,-50,yes,24:5e:be:3a:9e:dd,b8:27:eb:ca:5d:2d
Wed Apr 13 22:28:52 CEST 2022,-49,yes,24:5e:be:3a:9e:dd,b8:27:eb:ca:5d:2d
Wed Apr 13 22:29:07 CEST 2022,-49,yes,24:5e:be:3a:9e:dd,b8:27:eb:ca:5d:2d
Wed Apr 13 22:29:22 CEST 2022,-51,yes,24:5e:be:3a:9e:dd,b8:27:eb:ca:5d:2d
Wed Apr 13 22:29:37 CEST 2022,-49,yes,24:5e:be:3a:9e:dd,b8:27:eb:ca:5d:2d
Wed Apr 13 22:29:52 CEST 2022,-48,yes,24:5e:be:3a:9e:dd,b8:27:eb:ca:5d:2d
Wed Apr 13 22:30:07 CEST 2022,-48,yes,24:5e:be:3a:9e:dd,b8:27:eb:ca:5d:2d
Wed Apr 13 22:30:22 CEST 2022,-49,yes,24:5e:be:3a:9e:dd,b8:27:eb:ca:5d:2d
Wed Apr 13 22:30:38 CEST 2022,-48,yes,24:5e:be:3a:9e:dd,b8:27:eb:ca:5d:2d
Wed Apr 13 22:30:53 CEST 2022,-48,yes,24:5e:be:3a:9e:dd,b8:27:eb:ca:5d:2d
Wed Apr 13 22:31:08 CEST 2022,-48,yes,24:5e:be:3a:9e:dd,b8:27:eb:ca:5d:2d
Wed Apr 13 22:31:23 CEST 2022,-47,yes,24:5e:be:3a:9e:dd,b8:27:eb:ca:5d:2d
Wed Apr 13 22:31:38 CEST 2022,-47,yes,24:5e:be:3a:9e:dd,b8:27:eb:ca:5d:2d
Wed Apr 13 22:31:53 CEST 2022,-50,yes,24:5e:be:3a:9e:dd,b8:27:eb:ca:5d:2d
Wed Apr 13 22:32:08 CEST 2022,-49,yes,24:5e:be:3a:9e:dd,b8:27:eb:ca:5d:2d
Wed Apr 13 22:32:23 CEST 2022,-53,yes,24:5e:be:3a:9e:dd,b8:27:eb:ca:5d:2d
Wed Apr 13 22:32:38 CEST 2022,-51,yes,24:5e:be:3a:9e:dd,b8:27:eb:ca:5d:2d
Wed Apr 13 22:32:53 CEST 2022,-51,yes,24:5e:be:3a:9e:dd,b8:27:eb:ca:5d:2d
Wed Apr 13 22:33:08 CEST 2022,-50,yes,24:5e:be:3a:9e:dd,b8:27:eb:ca:5d:2d
Display More
The situation recovered only at 4M, when the MAC went down and I automatically reconnected to the network (see the reason=3)
Thu Apr 14 04:45:32 CEST 2022,-47,yes,24:5e:be:3a:9e:dd,b8:27:eb:ca:5d:2d
Thu Apr 14 04:45:47 CEST 2022,-47,yes,24:5e:be:3a:9e:dd,b8:27:eb:ca:5d:2d
Thu Apr 14 04:46:03 CEST 2022,,,,
Thu Apr 14 04:46:18 CEST 2022,-47,yes,24:5e:be:3a:9e:dd,b8:27:eb:ca:5d:2d
Thu Apr 14 04:46:33 CEST 2022,-47,yes,24:5e:be:3a:9e:dd,b8:27:eb:ca:5d:2d
Apr 14 04:46:02 LibreELEC wpa_supplicant[536]: wlan0: CTRL-EVENT-DISCONNECTED bssid=dc:39:6f:f2:32:9d reason=3 locally_generated=1
Apr 14 04:46:09 LibreELEC kernel: nfs: server 192.168.1.120 OK
Apr 14 04:46:11 LibreELEC tvheadend[31042]: http: Starting HTTP server 0.0.0.0:9981
Apr 14 04:46:11 LibreELEC tvheadend[31042]: htsp: Starting HTSP server 0.0.0.0:9982
Of course, I couldn't watch anything for the entire night, when this happens, the entire Kodi gets stuck basically: if you go to System Info and go to the Network part, the GUI freezes and CEC stops responding as well.
This also interrupted the recording of the program I wanted to watch, so I lost it. It also stopped sending data to the Grafana Server, which has a different IP Address and does not use NFS (of course, it's an HTTP server)
Note that when TVH records the video (towards the very same NAS), I never lose a bit, and it's a 220 minutes recording. But very often (or maybe always), when I try to play it, it all gets wrong and stuck. If my script works, then I have problems for 10 minutes, but yesterday it was a no-go
At a certain point in time, when the GUI was stuck, I also got this message in the logs, but I didn't see any direct consequences - maybe this is not relevant and just a consequence of all the rest
Apr 13 23:54:18 LibreELEC kernel: tvh:upnp invoked oom-killer: gfp_mask=0x100cca(GFP_HIGHUSER_MOVABLE), order=0, oom_score_adj=0
It's not a temperature problem because I have a fan shim controlled by a Kodi add-on (which worked even when the GUI was frozen):
2022-04-13 22:52:40.726 T:959 INFO <general>: 66.2Enabling fan! temp:66.2
2022-04-13 22:54:42.977 T:959 INFO <general>: 51.6 Disabling fan! temp:51.6
2022-04-13 22:59:23.112 T:959 INFO <general>: 66.2Enabling fan! temp:66.2
2022-04-13 23:01:15.162 T:959 INFO <general>: 51.6 Disabling fan! temp:51.6
2022-04-13 23:06:25.855 T:959 INFO <general>: 66.2Enabling fan! temp:66.2
2022-04-13 23:08:12.813 T:959 INFO <general>: 51.1 Disabling fan! temp:51.1
2022-04-13 23:13:03.121 T:959 INFO <general>: 66.2Enabling fan! temp:66.2
2022-04-13 23:15:10.446 T:959 INFO <general>: 51.1 Disabling fan! temp:51.1
Is there a way to solve the NFS issue? Did anyone of you experience this problem?
Note that the server is not down because the other Rpi is connected to it and I don't see any issues there: I send influxdb data every 30 seconds and I didn't lose any single bucket yesterday. I also use that NAS with my other Kodi on a FireTV and I have never ever experienced any issues (it uses WiFi connectivity as well). And on top, recording from LE (TVH) to the NAS always works.
Luca