dzVents.lua has been running for more than 10 seconds

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

Moderator: leecollings

Post Reply
Gravityz
Posts: 652
Joined: Wednesday 16 December 2015 19:13
Target OS: NAS (Synology & others)
Domoticz version: 2025.1
Location: Netherlands
Contact:

dzVents.lua has been running for more than 10 seconds

Post by Gravityz »

Hello,

everybody working with domoticz knows this message. it is send out if dzvents aparently is running to long to finish it's job.
I hardly get this message but lately i noticed how to trigger it.
whenever i copy large backup files from/to my synology(quadcore) i get this message.
synology cpu at that time is only 20% occupied so i suspect the copy job is using 100% utillization to the discs so when domoticz is kicking off it's auto backup job it does not have the bandwidth needed to finish it in time(10 seconds)

is there a way to avoid this message when the synology is in these circumstances(copying large files consuming disc bandwidth)
can the 10 seconds perhaps be expanded to 20 seconds

would be nice to know how much time it will take then(if longer then 20 seconds then a change is useless)

hopefully i can test this by changing something i a domoticz file
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

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

Post by waaren »

Gravityz wrote: Thursday 23 April 2020 18:37 is there a way to avoid this message when the synology is in these circumstances(copying large files consuming disc bandwidth)
can the 10 seconds perhaps be expanded to 20 seconds
Not without compiling
would be nice to know how much time it will take then(if longer then 20 seconds then a change is useless)
Less then 20 seconds because if > 20 seconds you would see the error more then once.

Reason for this message is that it warns you that the eventSystem is blocked so no other events can take place and some might even be skipped.
I also have a Synology NAS (916 DX with 4 discs on btrfs, SHR ) but luckily I never experienced a process blocking all other disc IO

It might be worthwhile to search for alternative copy methods / solutions in a Synology forum ?
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Gravityz
Posts: 652
Joined: Wednesday 16 December 2015 19:13
Target OS: NAS (Synology & others)
Domoticz version: 2025.1
Location: Netherlands
Contact:

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

Post by Gravityz »

ok thanks.

will see if i somehow can do some QOS on that copy command

UPDATE:
when copying through windows file explorer (from D: to Synology) get the synology overloaded and domoticz gets slow.

using file station on the synology and upload seems to go a lot better.
somehow this goes smooth, maybe some hw acceleration and throttling is involved

good to know
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest