Surely there must be SOMEONE of all who reported increasing CPU load with more recent version that can assist the developers to examine this more thoroughly?
Search found 59 matches
- 04 Feb 2024 23:35
- Forum: Discussions in English
- Topic: V4.1.2: steadily increasing cpu load
- Replies: 30
- Views: 29316
Re: V4.1.2: steadily increasing cpu load
- 02 Feb 2024 16:46
- Forum: Discussions in English
- Topic: ZWay crashed with SEGV + core dump
- Replies: 12
- Views: 3138
Re: ZWay crashed with SEGV + core dump
As I understand, it was about a SEGV crash caused by http calls in release < 4.0.3? Is that correct? It seems like http calls could trigger the error, in combination with a slow response rate on the remote side. (As for what kind of delay is needed to make it slow enough, I am not sure) And the inc...
- 28 Jan 2024 14:38
- Forum: Discussions in English
- Topic: ZWay crashed with SEGV + core dump
- Replies: 12
- Views: 3138
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. Any chance that the segmentation fault you have been seeing could be the same problem that was d...
- 17 Jan 2023 13:08
- Forum: Discussions in English
- Topic: Z-way-server occasionally goes down
- Replies: 68
- Views: 15659
- 16 Jan 2023 13:58
- Forum: Discussions in English
- Topic: Z-way-server occasionally goes down
- Replies: 68
- Views: 15659
Re: Z-way-server occasionally goes down
I had a power outage this morning, so my test session was unfortunately abruptly terminated after ~40 hours of uptime
Until that happened, I have not been able to detect any stability issues. I will restart things tonight and carry on testing.
Until that happened, I have not been able to detect any stability issues. I will restart things tonight and carry on testing.
- 15 Jan 2023 17:18
- Forum: Discussions in English
- Topic: Z-way-server occasionally goes down
- Replies: 68
- Views: 15659
Re: Z-way-server occasionally goes down
This is in every possible way extremely exciting news for me! When trying to diagnose the nature of the crash, I was experimenting with adding a buffering scheme in HTTPGet and quickly discovered that buffering requests (and setting a limit on how often they are allowed to be sent) clearly helped re...
- 10 Jan 2023 20:02
- Forum: Discussions in English
- Topic: Z-way-server occasionally goes down
- Replies: 68
- Views: 15659
Re: Z-way-server occasionally goes down
I *think* that if you have outgoing HTTP requests, seeing new threads created and exited repeatedly is to be expected. For quite some time I have been logging with gdb due to suspected instabilities when using the HTTPGet module to forward status/level changes of devices. The gdb output you are seei...
- 30 Dec 2022 16:13
- Forum: Discussions in English
- Topic: Z-way-server occasionally goes down
- Replies: 68
- Views: 15659
Re: Z-way-server occasionally goes down
You have the mighty z-way-server.log in directory /var/log/
but the output from gdb is what you see in the console window. If the server is crashing, you can list the active threads with:
and then backtrace them one by one through:
That is, IIRC
but the output from gdb is what you see in the console window. If the server is crashing, you can list the active threads with:
Code: Select all
i thr
Code: Select all
thr [x]
bt
That is, IIRC
- 29 Dec 2022 22:11
- Forum: Discussions in English
- Topic: Z-way-server occasionally goes down
- Replies: 68
- Views: 15659
Re: Z-way-server occasionally goes down
I have been using gdb to try and diagnose another situation rather than this exact one,
but I had to use sudo on the line that calls gdb in order to make it run:
but I had to use sudo on the line that calls gdb in order to make it run:
Code: Select all
sudo LD_LIBRARY_PATH=$LD_LIBRARY_PATH:./libs:./modules gdb ./z-way-server
- 02 Sep 2022 12:24
- Forum: Discussions in English
- Topic: Need frequent server restarts to control CPU load
- Replies: 27
- Views: 7897
Re: Need frequent server restarts to control CPU load
It will be interested to learn if modifying index.js prevents Z-Way from crashing on your system. If so, the module's logic could be enhanced to have the user configure which devices (or device types) should trigger the HTTP request. Well, judging from an ongoing test, modifying index.js in the man...