number of events duting continuous recording

Forum for questions and support relating to the 1.24.x releases only.
Locked
MythosGR
Posts: 4
Joined: Tue Jun 29, 2010 1:41 pm

number of events duting continuous recording

Post by MythosGR »

Hello,

I am recording in continuous mode 16 monitors using IP cameras.

Each event recorded is approx 10mins as I can see from the event window and here comes the question:

One should expect to calculate the total number of daily events as: 6 (parts of 10 mins) x 24 (hours) x 16 (monitor) = 2304 events

However mySQL reports for the last 5 days:
SELECT count(*) FROM Events WHERE DATE(StartTime) = '2011-02-10' and Archived=0" zm --> 1662

'2011-02-09' --> 1867
'2011-02-08' --> 2304
'2011-02-07' --> 2318
'2011-02-06' --> 856

Is there any logical explanation that the daily events vary from 856 to 2318?

I am running zm 1.24.2 on Ubuntu server 10.04.
Server spec is dual Xeon E5502 with 16GB of RAM which runs on average load of 4 (most of the streams are 800x600@5fps and 3 streams 1280x1024@3fps)
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

If you are using mocord as opposed to record then if there is motion near the end of the nominal event length it can extend it until the motion stops. You can control whether it does this or just kills the event in Options->Config->EVENT_CLOSE_MODE
Phil
MythosGR
Posts: 4
Joined: Tue Jun 29, 2010 1:41 pm

Post by MythosGR »

Thanks for the reply Phil.

I am using Record mode so this option doesn't affect the number of events.

Any other ideas?

Could it be caused by the increased load?
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

What are the actual lengths of the events? Obviously if processes restart then new events are opened but this would cause more and not less.
Phil
MythosGR
Posts: 4
Joined: Tue Jun 29, 2010 1:41 pm

Post by MythosGR »

Most of the events are 599-600s as they are supposed to.

However, I can see events of smaller length (for all monitors at a particular time) which I assume may have been caused because of hard drive filling up.

Checking syslog for the past days, I found disk full conditions for all dates having less daily events that the calculated number of 2304. This justifies why I have less events which makes me conclude that my cleanup filter is not working...
Locked