z-Way Server stops working

Discussions about RaZberry - Z-Wave board for Raspberry computer
User avatar
PoltoS
Posts: 7562
Joined: 26 Jan 2011 19:36

Re: z-Way Server stops working

Post by PoltoS »

Please check the size of the files storage/*.json
piet66
Posts: 266
Joined: 04 Feb 2017 17:00

Re: z-Way Server stops working

Post by piet66 »

Here you are:

Code: Select all

insgesamt 98772
drwxrwxr-x  2 pi   pi       4096 Jun  2 12:30 .
drwxrwxr-x 11 pi   pi       4096 Mär 31 23:07 ..
-rw-r--r--  1 root root     9442 Mär 31 22:50 admin1490993413728gif-767a3caea121f678adc7451336fb5b91.json
-rw-r--r--  1 root root     9442 Mär 31 23:04 admin1490994295063gif-911bd5f699ba9a7e0b58e05119468188.json
-rw-r--r--  1 root root   236298 Jun  2 12:30 configjson-06b2d3b23dce96e1619d2b53d6c947ec.json
-rw-r--r--  1 root root       15 Mär 31 23:00 expertconfigjson-0ef43e77bc4a34ec19a6c355a525b65c.json
-rw-r--r--  1 root root    30422 Mär 31 23:00 Garten4jpg-a6450d9f6dcb8a9ba5f8963843a421ee.json
-rw-r--r--  1 root root     6774 Apr 27 19:33 Heizplangif-c40869b016fd7e929973389fb785c9e2.json
-rw-r--r--  1 root root     7586 Apr 27 19:47 Heizung4gif-402bc9bcc9a4957ec12224a4e5da8eb0.json
-rw-r--r--  1 root root    17770 Mär 31 23:00 Heizungjpeg-6c2c536e5eee45ed23644a94cce1aa5d.json
-rw-r--r--  1 root root   318012 Mär 31 23:00 history-3cd15f8f2940aff879df34df4e5c2cd1.json
-rw-r--r--  1 root root     2194 Mai 13 14:43 icongif-009eef57cafc624f13c48db3de63f00d.json
-rw-r--r--  1 root root   161290 Jun  2 12:26 incomingPacketjson-5fa134bd40ea2f6f328252a67a68d93d.json
-rw-rw-r--  1 pi   pi          0 Mär 27 15:17 .keep
-rw-r--r--  1 root root    20070 Mär 31 23:00 Kellerjpeg-9bb91a5593bbff3cdec1532ffb97b870.json
-rw-r--r--  1 root root     7250 Apr 27 20:07 Kueche2gif-787b1fc813deb093fa43d3c33dd015db.json
-rw-r--r--  1 root root     9822 Apr 27 19:52 Kuechegif-14e77124a4ffad8b3627879057e301c8.json
-rw-r--r--  1 root root       13 Mär 31 23:00 moduleTokensjson-e29993de748adf5cf0e062ce571f1bc1.json
-rw-r--r--  1 root root 99963132 Jun  2 12:00 notifications-f37bd2f66651e7d46f6d38440f2bc5dd.json
-rw-r--r--  1 root root    96273 Jun  2 12:30 originPacketsjson-a9224461330689488046261dbbc78a6d.json
-rw-r--r--  1 root root    50499 Jun  2 12:20 outgoingPacketjson-5ac52a30a37d9ec108b8b540a6ee42cf.json
-rw-r--r--  1 root root     3626 Mär 31 23:00 partlycloudygif-42fd013265995ef261e0a76d1d6456ca.json
-rw-r--r--  1 root root    17290 Mär 31 23:00 Peter4jpg-5d204625ae823d9c4e3bbee4c5d7981e.json
-rw-r--r--  1 root root    11018 Mär 31 23:00 qubinojpeg-257ed1a50c6091693907850e79b9bfbc.json
-rw-r--r--  1 root root     6206 Mär 31 23:00 Reiner4jpg-2d0d4bc8d31f8a8792d53943eef34fa4.json
-rw-r--r--  1 root root     2124 Mai 29 11:39 reorgLog-daec86c27c17d42121553eeeed84f29b.json
-rw-r--r--  1 root root     1045 Mär 31 23:00 SensorValueLoggingMyWeatherUndergroundfeelslike7988-b3d214a5c603f962a84990d28f86cca5.json
-rw-r--r--  1 root root      673 Jun  2 07:09 storageContent-0c40aa7c27d2121efdfa27fff03c9548.json
-rw-r--r--  1 root root    35870 Mär 31 23:00 Testjpg-bd183f731f415f4a30a8716466082f9c.json
-rw-r--r--  1 root root     9430 Apr  4 21:31 ursula1491334282409gif-02a6fcb17f314031454f47d7135a0959.json
-rw-r--r--  1 root root    20130 Mär 31 23:00 Ursula4jpg-82fc24f279448b7b07007b4674b5096a.json
-rw-r--r--  1 root root      339 Apr 19 14:18 userIconsjson-6c1acd74397875c43413df2924566a20.json
-rw-r--r--  1 root root    12330 Mär 31 23:00 Wetter3jpeg-6bab44ab96a516aedad8d2a13db18657.json
Raspberry Pi 3 Model B Rev 1.2
Raspbian GNU/Linux 10 (buster, 32bit)
RaZberry by Z-Wave.Me ZW0700 7.20.00 07.38/1766938484 1025/257
Z-Way version v3.2.3 from 2022-04-06 04:56:23 +0300
User avatar
PoltoS
Posts: 7562
Joined: 26 Jan 2011 19:36

Re: z-Way Server stops working

Post by PoltoS »

Code: Select all

-rw-r--r--  1 root root 99963132 Jun  2 12:00 notifications-f37bd2f66651e7d46f6d38440f2bc5dd.json
As expected...this is too much. This was fixed in newer release candidates. Plesae remove this file or empty the array
piet66
Posts: 266
Joined: 04 Feb 2017 17:00

Re: z-Way Server stops working

Post by piet66 »

Thank you for the fast reply.
Can I remove this file while the service is running?
What does 'empty the array' mean?
Raspberry Pi 3 Model B Rev 1.2
Raspbian GNU/Linux 10 (buster, 32bit)
RaZberry by Z-Wave.Me ZW0700 7.20.00 07.38/1766938484 1025/257
Z-Way version v3.2.3 from 2022-04-06 04:56:23 +0300
User avatar
PoltoS
Posts: 7562
Joined: 26 Jan 2011 19:36

Re: z-Way Server stops working

Post by PoltoS »

just delete it and restart the code. Should do the job. Or better stop and remove
timohan
Posts: 17
Joined: 09 Feb 2017 14:26

Re: z-Way Server stops working

Post by timohan »

It seems I have such problems quite often too.

Is there any way to set limits for these .json files?

for example, incomingPacketjson can became also extreme large as well.
User avatar
PoltoS
Posts: 7562
Joined: 26 Jan 2011 19:36

Re: z-Way Server stops working

Post by PoltoS »

This will be addressed in the upcoming release
timohan
Posts: 17
Joined: 09 Feb 2017 14:26

Re: z-Way Server stops working

Post by timohan »

which json files are actually important, such as settings and other things?

And is there any way to disable these .json files (that would not be important) so they could not became too large.

I can get crash in one day easily.
User avatar
PoltoS
Posts: 7562
Joined: 26 Jan 2011 19:36

Re: z-Way Server stops working

Post by PoltoS »

please chech which file becomes long in automation/storage?
timohan
Posts: 17
Joined: 09 Feb 2017 14:26

Re: z-Way Server stops working

Post by timohan »

These files come large quickily:
incomingPacketjson
notifications

* I made a watchdog process, if any of these files became over 150k size, it will stop the z-way-server, removes those 150k > size .json files and then start z-way-server again :)

But it's not really a solution. :)
Post Reply