Page 1 of 1

Ethernet drop or freezes on Revolution Pi Compact

Posted: 19 May 2022, 15:45
by rce
Hi,

We're running a Revpi compact with Node-RED automation. We're getting random ethernet drop or regular freezing of the revpi. I'm actually tracking a memory leak in Node-RED at the moment, but this doesn't seems related to it. As you can see below, i'm recording the revpi cpu with Node-RED and Grafana via MQTT and we can see that the data has stopped being transmitted at some point. It doesn't seem to be related to high cpu usage.
revpi_cpu.png
revpi_cpu.png (43.57 KiB) Viewed 4231 times
By connecting a screen to the revpi, i've noticed that it had frozen. But last week, we had a similar issue but the revpi was still responding. So i'm guessing this is related to a connectivity issue.

This is the current dhcpcd.conf :

Code: Select all

interface wlan0
		metric 100
		
interface eth0
static ip_address=10.1.1.105/24
static routers=10.1.1.1

interface eth1
static ip_address=10.1.1.106/24
static routers=10.1.1.1
The wlan0 is a usb wifi dongle to access internet (download nodes on Node-RED).
The eth0 is our main ethernet connection connected to a PC on a LAN. The eth1 is the second ethernet port, used for debugging, but generally not connected to anything.
We are running the latest buster image, with Node-RED 2.2.2 and revpinodes-server 1.0.4.

I'm wondering if there is any log that I can read to start troubleshooting this?

Thanks in advance, best.

Re: Ethernet drop or freezes on Revolution Pi Compact

Posted: 28 May 2022, 20:09
by novofer
Hi,

I have almost the same problem.
Could you reach the RevPi via the eth1 when the eth0 stop?

Br, Zsolt

Re: Ethernet drop or freezes on Revolution Pi Compact

Posted: 30 May 2022, 14:16
by rce
Hi,

I once was able to communicate through the other port, but not on the next reboots.

I have since been able to operate continuously without interruption. I think the problem is related to the memory leak i was after. Using htop, i was able to locate it, and it is related to teamviewer. The problem in this post was not fixed : viewtopic.php?p=10188&hilit=teamviewer#p10188
Teamviewer still launches even when disabled from the UI. Stopping and disabling it frees memory :
memory_teamviewer.png
memory_teamviewer.png (50.03 KiB) Viewed 4132 times
I guess the problem was related to a lack of memory causing a freeze. But I need to log more to check that.

Re: Ethernet drop or freezes on Revolution Pi Compact

Posted: 31 May 2022, 15:47
by rce
I can confirm that since i manually stopped and disabled the teamviewer agent, memory has stabilized and stopped leaking. This might be the problem from the start but I need more time to check for freezes and crashes.

Re: Ethernet drop or freezes on Revolution Pi Compact

Posted: 01 Jun 2022, 11:17
by giuseppe
Hello,
I can recommend you to follow the checklist in the link below.
https://kunbus-gmbh.atlassian.net/servi ... 2632253480

I hope that I have helped you with this

Mit freundlichen Grüßen | Best regards
Giuseppe Pagano | Technical Support

Re: Ethernet drop or freezes on Revolution Pi Compact

Posted: 15 Jun 2022, 16:18
by rce
I can now confirm that this is not due to Node-RED but was indeed caused by the teamviewer agent. The Revpi has been running for the past weeks without memory leaks, crashes or freezes.

Re: Ethernet drop or freezes on Revolution Pi Compact

Posted: 18 Jul 2022, 21:07
by novofer
Hi,

I disabled the teamviever agent too , it seems to be good now!

pi@RevPi2863_Keszthely:~ $ uptime
19:05:41 up 33 days, 11:06, 3 users, load average: 5.36, 4.94, 4.90

BR, Zsolt