Page 1 of 1

dzVents.lua has been running for more than 10 seconds

Posted: Wednesday 06 December 2017 13:35
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

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

Posted: Wednesday 06 December 2017 14:04
by EddyG
Simpel check: remove the dirty bit by selecting option 1.

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

Posted: Wednesday 06 December 2017 14:40
by poudenes
tried but after reboot its still there

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

Posted: Wednesday 06 December 2017 16:17
by dannybloe
Are you doing http requests in one of your scripts. Clearly one of your scripts doesn't end.

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

Posted: Thursday 14 December 2017 10:35
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 :)

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

Posted: Thursday 14 December 2017 10:47
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" &)

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

Posted: Thursday 14 December 2017 11:41
by poudenes
I update the events and see if this solve the problem. Thanks again !!

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

Posted: Monday 15 January 2018 1:32
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.