Search found 37 matches

by segordon
Wed Aug 12, 2015 1:34 am
Forum: ZoneMinder 1.28.x
Topic: zmfilter polling slow.
Replies: 54
Views: 8281

Re: zmfilter polling slow.

No change in PID throughout the scenario. Event occurs at 18:27:25, zmfilter catches it at 18:32:44 2015-08-11 18:32:44.342670 zmfilter 22539 INF Notification email sent zmfilter.pl 2015-08-11 18:32:41.848650 zmfilter 22539 INF Sending notification email 'ZoneMinder: Alarm - frontDoor-92 (255 - 255 ...
by segordon
Tue Aug 11, 2015 9:59 pm
Forum: ZoneMinder 1.28.x
Topic: zmfilter polling slow.
Replies: 54
Views: 8281

Re: zmfilter polling slow.

Also, can you please redo this experiment above with Debug logs on and please post all the logs generated during those times Sure, here you go. One manual score 255 alarm, waited for notification email to arrive, shut down ZoneMinder, 'cd /var/logs/zm' and 'cat * > merged.txt' . posted to ubuntu pa...
by segordon
Tue Aug 11, 2015 8:52 pm
Forum: ZoneMinder 1.28.x
Topic: zmfilter polling slow.
Replies: 54
Views: 8281

Re: zmfilter polling slow.

a) Correct. b) Well, it's not that easy it seems. According to when the notifications are created/mailed out, its about 3 to 5 minutes. However, with logging enabled one can see that *something* is hitting the filters every 20 seconds, they just aren't being executed. Here is an interesting debug lo...
by segordon
Tue Aug 11, 2015 6:15 pm
Forum: ZoneMinder 1.28.x
Topic: zmfilter polling slow.
Replies: 54
Views: 8281

Re: zmfilter polling slow.

Here's a more clear log. I forced a bunch of events, and added a time-stamp to the email header so that you can see when the event occurs versus when the email is sent. 2015-08-11 11:13:54.096670 zmfilter 22323 INF Notification email sent zmfilter.pl 2015-08-11 11:13:51.901340 zmfilter 22323 INF Sen...
by segordon
Tue Aug 11, 2015 5:54 pm
Forum: ZoneMinder 1.28.x
Topic: zmfilter polling slow.
Replies: 54
Views: 8281

Re: zmfilter polling slow.

I am using ssmtp, following the tutorial linked in your sig. I mention this due to the proximity of the line changes to the github line you linked. Test emails fired off instantly with echo "Hello, World" | mail -s "My email check" user@email zmfilter seems to report the event in batches, regardless...
by segordon
Tue Aug 11, 2015 4:44 pm
Forum: ZoneMinder 1.28.x
Topic: zmfilter polling slow.
Replies: 54
Views: 8281

Re: zmfilter polling slow.

Here's a hyper-active zone I can use as an example. FILTER_EXECUTE_INTERVAL is set to '20' on my system; however each event batch is processed every five minutes (300s). If I enable debug and extra logging, zmfilter even says ' Sleeping for 20 seconds.. ' after the event check in the weblog; however...
by segordon
Tue Aug 11, 2015 10:06 am
Forum: ZoneMinder 1.28.x
Topic: zmfilter polling slow.
Replies: 54
Views: 8281

zmfilter polling slow.

Hi there,

How can I increase the rate at which zmfilter.pl checks for events? I figured it'd be the filter_execute_interval, but that seems to have little effect.