Search found 266 matches

by piet66
13 Feb 2024 11:03
Forum: Discussions in English
Topic: V4.1.2: steadily increasing cpu load
Replies: 28
Views: 25860

Re: V4.1.2: steadily increasing cpu load

Hi PoltoS, Your questions are difficult to answer. Perhaps you should take a look at the code? Preferably all 3 versions for comparison. I can put this together in a clearly arranged form. As for releasing buffers in the JS code versus letting the GC do it, I see a 20 Mb difference in memory (which ...
by piet66
13 Feb 2024 10:39
Forum: Discussions in English
Topic: ZWay crashed with SEGV + core dump
Replies: 12
Views: 1925

Re: ZWay crashed with SEGV + core dump

PoltoS wrote:
13 Feb 2024 04:29
Hi! Regarding the other post about the increasing CPU, do you know how to reproduce the crash too?
No, I still can't reproduce it.

You could get the idea that the two are connected. But I am sure that I already had the problem with the crashes before I developed the app I mentioned.
by piet66
10 Feb 2024 10:41
Forum: Discussions in English
Topic: V4.1.2: steadily increasing cpu load
Replies: 28
Views: 25860

Re: V4.1.2: steadily increasing cpu load

Hey, someone ! ;) I actually wanted to wait a little longer and do some more tests before reporting my findings. But I'm convinced that I'm right. The comments about garbage collection in other thread led me in the right direction. I was able to find the app that generates the growth and isolate th...
by piet66
28 Jan 2024 19:52
Forum: Discussions in English
Topic: ZWay crashed with SEGV + core dump
Replies: 12
Views: 1925

Re: ZWay crashed with SEGV + core dump

I thought about whether the error pattern at that thread could also apply to me, but came to no conclusion: I'll try to share the solution with you. In short, the HTTP module (modhttp.so) is a wrapper of cURL for Google V8 JS engine Z-Way is using. The problem was that the thread releasing pointers ...
by piet66
28 Jan 2024 19:33
Forum: Discussions in English
Topic: ZWay crashed with SEGV + core dump
Replies: 12
Views: 1925

Re: ZWay crashed with SEGV + core dump

Any chance that the segmentation fault you have been seeing could be the same problem that was discussed in this thread? https://forum.z-wave.me/viewtopic.php?f=3419&t=35688 That particular issue was concerning incoming requests and was present in official releases until 4.0.3 IIRC. While the b...
by piet66
28 Jan 2024 11:22
Forum: Discussions in English
Topic: ZWay crashed with SEGV + core dump
Replies: 12
Views: 1925

Re: ZWay crashed with SEGV + core dump

I don't see any possibility of reproduction. The occurrence is completely unpredictable. One month it was 5 times, another time nothing in 4 months.

It's always the same: SEGV in v8 at the same address.
by piet66
20 Jan 2024 11:52
Forum: Discussions in English
Topic: ZWay crashed with SEGV + core dump
Replies: 12
Views: 1925

Re: ZWay crashed with SEGV + core dump

This happens from time to time, about 10 - 15 times per year. I just didn't know why until now. Only since the last two times have I known that it is a SEGV (after I moved to systemd). Normally it is not a big problem for me, because my watchdog restarts the server automatically. However, at the end...
by piet66
19 Jan 2024 19:51
Forum: Discussions in English
Topic: ZWay crashed with SEGV + core dump
Replies: 12
Views: 1925

Re: ZWay crashed with SEGV + core dump

It is 3.2.3.
Since this problem is existing since years over all Z-Way releases, I don't expect different behavior in the current release.

I will not upgrade to release 4 till the issue with growing CPU load is solved.
by piet66
13 Jan 2024 12:01
Forum: Discussions in English
Topic: ZWay crashed with SEGV + core dump
Replies: 12
Views: 1925

ZWay crashed with SEGV + core dump

Hi,
my z-way-server crashed this morning, a core dump was written.

As far as I can see, it was killed with SEGV in thread zway/core, libv8.so at 0x0000000076bef49c.

Perhaps it is possible to gain further insights from the attached collocation. If I can contribute further information, please ask.
by piet66
12 Jan 2024 10:20
Forum: Discussions in English
Topic: V4.1.2: steadily increasing cpu load
Replies: 28
Views: 25860

Re: V4.1.2: steadily increasing cpu load

Perhaps any of the 4.1.2 users can do that?