2023-11-02, 10:43 AM
(2023-11-02, 09:54 AM)Boatingbaileys Wrote: Hi, I have had a similar problem where it seems the Chrome browser has disconnected or gone to sleep, particularly overnight but I don't really use mine in the same where I guess you are using yours. Is this happening after a couple if minutes or hours, any consistency in that? How are you sending data to OpenCPN?
Hi, thanks.
As far as I can guess until now, it seems that it is caused by the data intensive calculations that the browser has to make, for historical data, Linear gauges, etc. Keeping the need of these resources down, make things better.
BTW; I have also tried to replicate this in other OS ( Barebone) and it happens exactly the same, so it seems to be a fault of overflow of data and calculations to be made by the browser.
When this sypmton happens, the brower becomes very sluggish, even when system is still pretty healthy in the availability of resources ( Still many RAM and CPU free usage left).
The Wind gauge seems to be fine, but the linear ones or the historical trend , seriously affect performance.
Concerning how Data is sent to Open CPN; it takes the data directly from SK, If I restart SK server; Open CPN will lose the connection of the data coming from the USB to serial (Wind data).
It has also happened to me in my navigation Tablet reproducing KIP in Opera browser, which gets the data to SK via Wifi network, so it is not an issue with OP, Linux distribution, Android, neither Chromium or Opera. It seems to be a bug related to the capabilities of web browsers of handliing accumulated calculations over time in several widgets.