<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
By reducing my Wifi router signal strength and lowering the wifi sq
configs I managed to put my module additionally under networking
stress, with multiple network changes in/out Wifi.<br>
<br>
Sadly, still no issue turning up…<br>
<br>
So, if you can reproduce the exact circumstances in your setting and
narrow down the cause, that could be very helpful.<br>
<br>
Regards,<br>
Michael<br>
<br>
<br>
<div class="moz-cite-prefix">Am 12.08.20 um 13:10 schrieb Michael
Balzer:<br>
</div>
<blockquote type="cite"
cite="mid:2e5a694b-d5e5-964a-6911-ed1d632759e4@expeedo.de">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
The script has now been running on my ticker.1 for nearly 4 hours
without any issues.<br>
<br>
Some other reports included a poor Wifi signal. Does that apply to
your situation as well? I can't easily reproduce that on my bench.<br>
<br>
Regards,<br>
Michael<br>
<br>
<br>
<div class="moz-cite-prefix">Am 12.08.20 um 09:18 schrieb Michael
Balzer:<br>
</div>
<blockquote type="cite"
cite="mid:57b97afd-0dcf-66f8-b991-e58e54449057@expeedo.de">
<meta http-equiv="Content-Type" content="text/html;
charset=UTF-8">
Derek,<br>
<br>
what do you mean by "match the crash timings"? Did you see the
crash happen at the GC run? If you checked your file log, be
aware the log may be cut off by the crash. The WDT reboot isn't
polite to our logging task or unflushed file buffers.<br>
<br>
If there's a bug in the DukTape GC, that could well block
further JS processing and thus trigger the WDT. The last GC bugs
fixed in DukTape have been in release 2.1.0 (2017-04-15): <a
href="https://duktape.org/download.html"
moz-do-not-send="true">https://duktape.org/download.html</a><br>
<br>
Your test script doesn't allocate much memory, and as it was
bound to the <span style="color:rgb(0,0,0);white-space:pre-wrap">system.wifi.sta.disconnected event should have run at most 6 times per minute -- not much stress for the GC… I'll bind your test script to ticker.1 on my bench module.</span><br>
<br>
Regards,<br>
Michael<br>
<br>
<br>
<div class="moz-cite-prefix">Am 12.08.20 um 08:52 schrieb Derek
Caudwell:<br>
</div>
<blockquote type="cite"
cite="mid:CAKUcfWF6HzZSrLyhbxgs07GEd5Ox-nACSj0VJ2KauF6Vas30Hw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html;
charset=UTF-8">
<div dir="ltr">Hi Michael,<br>
<div><br>
</div>
<div>The following is the content of my "dummy" script, so
it shouldn't cause any looping issues:</div>
<div> var history = {</div>
"test": [],<br>
"v.p.odometer": [],<br>
"v.p.altitude": [],<br>
"v.b.energy.used": [],<br>
"v.b.energy.recd": [],<br>
};<br>
var lastOdo = 0;<br>
var saveOdo = 0;<br>
<br>
print(Duktape.enc('jc', history));
<div><br>
</div>
<div>I deleted the script and folder before seeing your
suggestion on task priority, but I could reinstate and try
at some point.</div>
<div><br>
</div>
<div>Since deleting the script and the events folder the
module has been stable for over 10 hours. I see there is
garbage collection every 60s which seems to match the
crash timings to within a second or so, could this be the
cause??</div>
<div><br>
</div>
<div>Kind regards</div>
<div>Derek</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
OvmsDev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OvmsDev@lists.openvehicles.com" moz-do-not-send="true">OvmsDev@lists.openvehicles.com</a>
<a class="moz-txt-link-freetext" href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev" moz-do-not-send="true">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
OvmsDev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OvmsDev@lists.openvehicles.com" moz-do-not-send="true">OvmsDev@lists.openvehicles.com</a>
<a class="moz-txt-link-freetext" href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev" moz-do-not-send="true">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
OvmsDev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OvmsDev@lists.openvehicles.com">OvmsDev@lists.openvehicles.com</a>
<a class="moz-txt-link-freetext" href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
</pre>
</body>
</html>