SK on Rpi5 freezes
Just got a new setup on a RPi5 going and I though everything is fine... Running SKSim to feed data into it. Was noticing KIP would seem to freeze. Checked the SKSim Output and I see the data going out at a steady 1Hz. Went to the SK server logs and started seeing gaps in the time stamps Which are corresponding with when I was seeing the KIP Freezes. Where should I go to see what the issue could be? Especially since there's no errors in the log. My N2K Buss will be feeding data at much more than 1Hz. Got a race on Saturday and was hoping to have the new setup rock solid. - Thanks in advance...
Apr 03 15:34:07 POST /skServer/plugins/sksim/api 200 14.390 ms - 37
Apr 03 15:34:08 POST /skServer/plugins/sksim/api 200 13.952 ms - 37
Apr 03 15:34:09 POST /skServer/plugins/sksim/api 200 18.305 ms - 37
Apr 03 15:34:31 POST /skServer/plugins/sksim/api 200 11.014 ms - 37
Apr 03 15:35:31 POST /skServer/plugins/sksim/api 200 10.618 ms - 37
Apr 03 15:36:31 POST /skServer/plugins/sksim/api 200 12.483 ms - 37
Apr 03 15:37:31 POST /skServer/plugins/sksim/api 200 17.160 ms - 37
Apr 03 15:38:31 POST /skServer/plugins/sksim/api 200 14.650 ms - 37
Apr 03 15:39:31 POST /skServer/plugins/sksim/api 200 14.432 ms - 37
Apr 03 15:40:31 POST /skServer/plugins/sksim/api 200 9.343 ms - 37
Apr 03 15:41:31 POST /skServer/plugins/sksim/api 200 12.732 ms - 37
Apr 03 15:42:31 POST /skServer/plugins/sksim/api 200 14.076 ms - 37
Apr 03 15:43:25 POST /skServer/plugins/sksim/api 200 13.998 ms - 37
11 Replies
I think this may have to do with sksim, if I recall others have had similar issues.
Is there a better way to test off the boat?
Try running with a log file
There are a couple that come with the server.
How do I "replay" a log file. I don't have any on my current setup but I had hourlies on my old I could throw onto a flashdrive
Go to Data Connections
I'll give it a shot...
No freezes. Must have been a SkSim Issue... Thanks again Scott!
Interesting...SKSim posts values at the desired intervals which generates deltas via a single call to
handleMessage
.
Could it possibly related to the number of updates in the one message?Maybe if it’s 100’s of messages?
Definitely at least the second time I have seen this
If been having reports of freezing also. It appears to only be on RPi5 and with Chromium. Not sure why. I think it’s related the Chromium launch parameters that have to do with JVM configuration. Not sure really. Try with Firefox.
FWIW Chrome on Ubuntu will 100 percent freeze your system if a React app gets too many updates in too short an interval.
Discovered this recently in a beta build of the Bluetooth sensors plug-in running in a Bluetooth rich environment. The server was hammering a React client with updates of in- range Bluetooth devices every 50ms or so. Ubuntu desktop appeared to freeze. Nothing on the desktop appeared to be working.
Changed the server logic so it only updated BT device signal strength every 5000ms and the problem went away.