Zmfilter goes to 100% cpu
Posted: Fri Sep 02, 2016 4:19 pm
Hi all,
Looking why my cpu start burnging i made a top on the host and find zmfilter was using 100% cpu.
I found this related issue in botbot me:
So my rules looks like this now:
https://snag.gy/TO4KPE.jpg
Thank's to irc logs.
Looking why my cpu start burnging i made a top on the host and find zmfilter was using 100% cpu.
I found this related issue in botbot me:
Doing the same it as stop make my server so hot.JRansomed
Hey guys, does zm filters track things that they have already processed? I rebooted my box after some patching yesterday and had zmfilter.pl jump the load to 70. That hurt. I believe it was running the alert filter against all my events (many events, over a thousand) all over again.
6:14 pm
JRansomed - zmfilter marks a record as "executed' when done - I think its a DB entry - so it should not repeat - though I've not traced all situations
6:28 pm
yeah the Events table has an executed field
6:29 pm
and if that event is acted upon https://github.com/ZoneMinder/ZoneMinder/blob/m... sets that field to 1
6:29 pm
JRansomed
Interesting... To get past it, I added "and Date/Time greater than -1 hours"
6:29 pm
Then it processed the last hour's worth and life was good.
So my rules looks like this now:
https://snag.gy/TO4KPE.jpg
Thank's to irc logs.