dzVents.lua has been running for more than 10 seconds

Easy to use, 100% Lua-based event scripting framework.

Moderator: leecollings

Post Reply
poudenes
Posts: 667
Joined: Wednesday 08 March 2017 9:42
Target OS: Linux
Domoticz version: 3.8993
Location: Amsterdam
Contact:

dzVents.lua has been running for more than 10 seconds

Post by poudenes »

Hi All,

Suddenly i got this error msg:

Code: Select all

dzVents.lua has been running for more than 10 seconds
Didn't change anything. All scripts work great.
Only update to latest beta Domoticz V3.8771

Does someone have same issues or any idea to solve this?

Already disable almost all dzvents scripts to see if this was the problem.
Didn't solve. Disabled the dzvents script at all and msg is gone.

Checked the USB stick and get this problem. Can this be the problem that i get the above error?

Code: Select all

root@raspberrypi:~# fsck /dev/sda1
fsck from util-linux 2.25.2
fsck.fat 3.0.27 (2014-11-12)
0x41: Dirty bit is set. Fs was not properly unmounted and some data may be corrupt.
1) Remove dirty bit
2) No action
? 2
RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
EddyG
Posts: 1042
Joined: Monday 02 November 2015 5:54
Target OS: -
Domoticz version:

Re: dzVents.lua has been running for more than 10 seconds

Post by EddyG »

Simpel check: remove the dirty bit by selecting option 1.
poudenes
Posts: 667
Joined: Wednesday 08 March 2017 9:42
Target OS: Linux
Domoticz version: 3.8993
Location: Amsterdam
Contact:

Re: dzVents.lua has been running for more than 10 seconds

Post by poudenes »

tried but after reboot its still there
RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
dannybloe
Posts: 1355
Joined: Friday 29 August 2014 11:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Ermelo
Contact:

Re: dzVents.lua has been running for more than 10 seconds

Post by dannybloe »

Are you doing http requests in one of your scripts. Clearly one of your scripts doesn't end.
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.
poudenes
Posts: 667
Joined: Wednesday 08 March 2017 9:42
Target OS: Linux
Domoticz version: 3.8993
Location: Amsterdam
Contact:

Re: dzVents.lua has been running for more than 10 seconds

Post by poudenes »

Sorry for late reply:

In Some events i have this :

os.execute('/home/pi/domoticz/scripts/Peter/speech.sh Someone arrive. Scene Evening activatedf')

This let domoticz speak :) Maybe this is the problem. Have it in many events :)
RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
dannybloe
Posts: 1355
Joined: Friday 29 August 2014 11:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Ermelo
Contact:

Re: dzVents.lua has been running for more than 10 seconds

Post by dannybloe »

yes, that is very likely the problem. Maybe you should detach the process immediately when executing. I believe you can add a & to the command:
os.execute('/home/pi/domoticz/scripts/Peter/speech.sh "Someone arrive. Scene Evening activatedf" &)
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.
poudenes
Posts: 667
Joined: Wednesday 08 March 2017 9:42
Target OS: Linux
Domoticz version: 3.8993
Location: Amsterdam
Contact:

Re: dzVents.lua has been running for more than 10 seconds

Post by poudenes »

I update the events and see if this solve the problem. Thanks again !!
RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
dpcreel
Posts: 44
Joined: Friday 25 November 2016 14:30
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: dzVents.lua has been running for more than 10 seconds

Post by dpcreel »

I know this is late but I haven't checked Domoticz in a while.

I had this issue several months ago. After checking all of my scripts and disabling and enabling each individual script to find the culprit, nothing was positive. I even replaced the sd card on the PI, no help. What I ended up doing to resolve the situation was deleting the Domoticz database and starting over from scratch. It was a pain but no more errors.

Not sure if this helps but this was my experience. I am using domoticz beta on a headless PI3 with an sd card.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest