guysoft / RealtimePi

An out-of-the-box raspebrrypi/raspbian distro with a realtime kernel
GNU General Public License v3.0
163 stars 25 forks source link

Usage statistics #33

Closed MagnusWersland closed 2 years ago

MagnusWersland commented 2 years ago

Hey,

whats this line for in src\config """ export USAGE_STATISTICS_URL=https://realtimepi-tracking.gnethomelinux.com """

I'm using the RPI as an EtherCAT master with a looptime of 3ms, but I kept having alot of jitter so the system would crash, I checked htop and saw that the following line got called a bunch of time corresponding to the system glitching:

curl --output /dev/null --silent --head --fail https://realtimepi-tracking.gnethomelinux.com/..........etc.....

went to the link manually, and it stopped showing up in htop and the system stopped glitching, any ideas?

(the clock is set wrong on the PI, I'm guessing the curl might be timing out because of that and subsequently messing up a bunch of stuff?)

MagnusWersland commented 2 years ago

update;

So the link is related to usage statistics (see also https://github.com/guysoft/RealtimePi/issues/21), and my guess is that it's either trying to send on eth0 where it hits a EtherCAT network. Or it tries to send on wifi and times about because of wrong date or something.

MagnusWersland commented 2 years ago

Turns out that is not what is causing the jitter in the system, closing