Wonder what is others experience and what are you doing to prevent this. My server on RaspberryPi 3 is constantly crashing, 2.3.5 was crashing about every single day but new one (2.3.6) is start crashing just randomly about every hour which is off course killer for any automation. Raspberry itself is running fine but z-way is just and had to restart it.
Went through some forum posts, as suggested turned off logging (set to 4), removed json notification file, still crashing. Is it safe to kill some other json files, the biggest I have now is like 600k.
What's your experience?
Thanks K.
Server is constantly crashing
Re: Server is constantly crashing
We have seen sporadic reports about Z-Way crashing. Unfortunatelly most of reports lacks of information.
Could you please list all modules you have in your automation and may be run it through GDB to let us check once it crashes via remote access. Is it something possible?
Could you please list all modules you have in your automation and may be run it through GDB to let us check once it crashes via remote access. Is it something possible?
Re: Server is constantly crashing
Thanks, Sergey, I'm doing some testing now, trying to capture a log when it crashes, will provide it. As usual since I post this and enable logging again (log file is about 30 megs now) server is not crashing.
Re: Server is constantly crashing
Here's the log extract til the end, I don't see anything special there, it just stooped. I have 10 devices and some App configured but nothing special, the biggest is the Security Module and I think that's the indirect culprit, it is somehow related to notifications it's trying to send. I've configured E-mail ones which works fine and Phone ones which don't, notifications never showed up on the phone. Any suggestions what to do next?
Thanks!
Thanks!
- Attachments
-
- z-way-server_cut.zip
- (2.91 KiB) Downloaded 469 times
Re: Server is constantly crashing
I have the same issue. Running v2.3.6. I've created a script that checks every fire minutes for z-way-server process and starts it if no such process is running. This is the restart log:
Restarting z-way-server: Thu 28 Sep 08:55:01 CEST 2017
Restarting z-way-server: Mon 2 Oct 09:05:01 CEST 2017
Restarting z-way-server: Thu 5 Oct 08:30:01 CEST 2017
Restarting z-way-server: Fri 6 Oct 15:30:05 CEST 2017
Restarting z-way-server: Sat 14 Oct 16:30:01 CEST 2017
As you can see it varies much how long it's running before it crashes. There are nothing (no errors) in the log when it crashes. Just seems the process dies (or is killed).
Restarting z-way-server: Thu 28 Sep 08:55:01 CEST 2017
Restarting z-way-server: Mon 2 Oct 09:05:01 CEST 2017
Restarting z-way-server: Thu 5 Oct 08:30:01 CEST 2017
Restarting z-way-server: Fri 6 Oct 15:30:05 CEST 2017
Restarting z-way-server: Sat 14 Oct 16:30:01 CEST 2017
As you can see it varies much how long it's running before it crashes. There are nothing (no errors) in the log when it crashes. Just seems the process dies (or is killed).
Re: Server is constantly crashing
I have the same problem. v2.3.6 stops running after 2 - 3 days. @paaland: could you provide me your restart script ?
Re: Server is constantly crashing
Monit works for me.
Nothing worse than waking up in the morning with a dead z-way.
No lights and no heating..
Isaksson gave a good explanation.
viewtopic.php?f=3419&t=24730&p=68247&hi ... art#p68247
Nothing worse than waking up in the morning with a dead z-way.
No lights and no heating..
Isaksson gave a good explanation.
viewtopic.php?f=3419&t=24730&p=68247&hi ... art#p68247
Raspi 4 - (Buster - 32 Bit) Zwave Version 4.1.1, Raz 7 Pro, Serial API Version: 07.38
Re: Server is constantly crashing
Thanks Micky, just installed monit, seems like that's not a solution but at least a workaround which let me to see when server is really crashing and restart it. I hope developers can find an ultimate solution.micky1500 wrote: ↑16 Oct 2017 20:33Monit works for me.
Nothing worse than waking up in the morning with a dead z-way.
No lights and no heating..
Isaksson gave a good explanation.
viewtopic.php?f=3419&t=24730&p=68247&hi ... art#p68247
K.
Re: Server is constantly crashing
Hello!
This is very good that you all see similar problems. Could all of you provide some debug info. Better to run it in gdb ignoring two first SIGILL.
Once it crashes, please do "bt" and "info thr"
As I know, we know only one reason to crash - some bug in sockets. We are hunting it. Do you all use sockets module (like Sonos app)?
This is very good that you all see similar problems. Could all of you provide some debug info. Better to run it in gdb ignoring two first SIGILL.
Once it crashes, please do "bt" and "info thr"
As I know, we know only one reason to crash - some bug in sockets. We are hunting it. Do you all use sockets module (like Sonos app)?
Re: Server is constantly crashing
Willing to help, do you have somewhere clear instructions on what to do and what kind of logs you need, I'm IT but not very proficient with nix systems and just playing with z-way for a few months.PoltoS wrote: ↑19 Oct 2017 08:30Hello!
This is very good that you all see similar problems. Could all of you provide some debug info. Better to run it in gdb ignoring two first SIGILL.
Once it crashes, please do "bt" and "info thr"
As I know, we know only one reason to crash - some bug in sockets. We are hunting it. Do you all use sockets module (like Sonos app)?
I don't have any such modules, just if-then's, conditions and polling. Would be great if you know a way to list all the modules without the screenshot of Apps page.
K.