This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Signal K Server v1.32.0 Released
#23
(2020-08-12, 09:19 PM)MatsA Wrote:
(2020-08-12, 07:19 PM)Sailoog Wrote: I have checked the signal k code and there is a blocking loop here: https://github.com/SignalK/signalk-serve...alk.js#L51 This could be the reason for that high process consumption.

Adding "time.sleep(0.01)" after line 51 should fix this but I am not sure where this file goes after installation to overwrite and test this change.

Thanks for the feedback. The source is found at "/home/pi/signalk-server-node/packages/streams/pigpio-seatalk.js" in a standard SK install. Or just use  'sudo find / -name "pigpio-seatalk.js"' I don't have the possibility to check it for some days...

I need to know where that embedded python code is installed to hardcode it and test this change because I do not want to build signal k server from source.
pigpio-seatalk.js is not found in a working system.
Reply


Messages In This Thread
Signal K Server v1.32.0 Released - by tkurki - 2020-07-22, 08:09 PM
RE: Signal K Server v1.32.0 Released - by Sailoog - 2020-07-22, 08:11 PM
RE: Signal K Server v1.32.0 Released - by marcel - 2020-07-26, 06:40 AM
RE: Signal K Server v1.32.0 Released - by PaddyB - 2020-07-26, 11:08 AM
RE: Signal K Server v1.32.0 Released - by tkurki - 2020-08-02, 08:35 PM
Signal K Server v1.32.0 Released - by tkurki - 2020-08-05, 08:13 PM
RE: Signal K Server v1.32.0 Released - by MatsA - 2020-08-06, 05:48 AM
RE: Signal K Server v1.32.0 Released - by monos1 - 2020-08-08, 09:13 PM
RE: Signal K Server v1.32.0 Released - by MatsA - 2020-08-09, 07:51 AM
RE: Signal K Server v1.32.0 Released - by Sailoog - 2020-08-09, 07:44 PM
RE: Signal K Server v1.32.0 Released - by Sailoog - 2020-08-10, 10:37 AM
RE: Signal K Server v1.32.0 Released - by monos1 - 2020-08-10, 11:58 AM
RE: Signal K Server v1.32.0 Released - by PaddyB - 2020-08-10, 01:02 PM
RE: Signal K Server v1.32.0 Released - by MatsA - 2020-08-11, 10:28 AM
RE: Signal K Server v1.32.0 Released - by Sailoog - 2020-09-14, 07:19 PM
RE: Signal K Server v1.32.0 Released - by MatsA - 2020-09-15, 09:34 AM
RE: Signal K Server v1.32.0 Released - by monos1 - 2020-08-12, 01:26 PM
RE: Signal K Server v1.32.0 Released - by MatsA - 2020-08-12, 09:19 PM
RE: Signal K Server v1.32.0 Released - by Sailoog - 2020-08-13, 11:54 AM
RE: Signal K Server v1.32.0 Released - by PaddyB - 2020-08-13, 12:14 PM
RE: Signal K Server v1.32.0 Released - by glenn - 2020-08-12, 02:59 PM
RE: Signal K Server v1.32.0 Released - by Sailoog - 2020-08-12, 07:19 PM
RE: Signal K Server v1.32.0 Released - by Sailoog - 2020-08-13, 12:13 PM
RE: Signal K Server v1.32.0 Released - by monos1 - 2020-08-13, 02:35 PM
RE: Signal K Server v1.32.0 Released - by Sailoog - 2020-08-13, 12:29 PM
RE: Signal K Server v1.32.0 Released - by Sailoog - 2020-08-13, 05:12 PM
RE: Signal K Server v1.32.0 Released - by monos1 - 2020-08-13, 07:30 PM
RE: Signal K Server v1.32.0 Released - by Sailoog - 2020-08-13, 07:35 PM
RE: Signal K Server v1.32.0 Released - by MatsA - 2020-08-13, 09:15 PM
RE: Signal K Server v1.32.0 Released - by monos1 - 2020-08-13, 09:39 PM
RE: Signal K Server v1.32.0 Released - by Sailoog - 2020-08-14, 09:24 AM
RE: Signal K Server v1.32.0 Released - by MatsA - 2020-08-13, 10:00 PM
RE: Signal K Server v1.32.0 Released - by Sailoog - 2020-08-14, 10:11 AM
RE: Signal K Server v1.32.0 Released - by monos1 - 2020-08-14, 12:37 PM
RE: Signal K Server v1.32.0 Released - by MatsA - 2020-08-15, 08:00 AM
RE: Signal K Server v1.32.0 Released - by monos1 - 2020-08-16, 11:05 AM
RE: Signal K Server v1.32.0 Released - by MatsA - 2020-08-17, 07:42 AM
RE: Signal K Server v1.32.0 Released - by Sailoog - 2020-08-14, 10:29 AM
RE: Signal K Server v1.32.0 Released - by monos1 - 2020-08-18, 08:49 AM
RE: Signal K Server v1.32.0 Released - by monos1 - 2020-09-14, 10:29 PM
RE: Signal K Server v1.32.0 Released - by Sailoog - 2020-10-22, 10:57 AM

Forum Jump:


Users browsing this thread: 3 Guest(s)