View unanswered posts | View active topics It is currently Sun Apr 20, 2014 5:40 pm



Reply to topic  [ 2 posts ] 
Constant Motion = Buffer Overrunn 
Author Message

Joined: Tue Apr 20, 2010 6:13 pm
Posts: 5
Post Constant Motion = Buffer Overrunn
I have a fresh install of 1.24.2 from SVN on Ubuntu 9.10 32bit with mmap enabled following the guide on the wiki. The only other thing installed is webmin.

I have 4 ACTI cameras setup in MJPEG @ 640x480 15fps (they are capable of 1024x1280) and 1 Airlive 325 in MJPEG also.
Two of my ACTI cameras are in a constant motion area (during the day) and are set on Modect. These two are constantly producing errors in the logs and have gaps between events. The logs look like this:
Code:
Apr 20 11:19:25 ubuntuzm32 zmc_m12[902]: INF [CNC-W: 8000 - Capturing at 7.52 fps]
Apr 20 11:19:26 ubuntuzm32 zmc_m13[906]: INF [CNC-East: 16000 - Capturing at 14.93 fps]
Apr 20 11:19:32 ubuntuzm32 zma_m12[904]: INF [CNC-W: 7095 - Gone back into alarm state]
Apr 20 11:19:32 ubuntuzm32 zma_m12[904]: INF [CNC-W: 7096 - Gone into alert state]
Apr 20 11:19:35 ubuntuzm32 zma_m12[904]: INF [CNC-W: 7100 - Gone back into alarm state]
Apr 20 11:19:37 ubuntuzm32 zmc_m13[906]: WAR [Buffer overrun at index 45, image 16170, slow down capture, speed up analysis or increase ring buffer size]
Apr 20 11:19:38 ubuntuzm32 zma_m13[908]: WAR [Approaching buffer overrun, consider slowing capture, simplifying analysis or increasing ring buffer size]
Apr 20 11:19:38 ubuntuzm32 zmc_m13[906]: WAR [Buffer overrun at index 56, image 16181, slow down capture, speed up analysis or increase ring buffer size]
Apr 20 11:19:39 ubuntuzm32 zma_m12[904]: INF [CNC-W: 7109 - Gone into alert state]


The sytem is a Dual socket quad core Xeon (8cores) with 6gb of memory. So I know the system is powerful enough. On both monitors I have the buffer settings as follows:

Image buffer Size =75
Warmup = 12
Pre Event image Count =45
Post Event image count = 60
I have tried several variations of the ring buffer, higher, lower and still get the errors.

My other cameras are fine and respond to alarms and record correctly. Just these two give me problems. Is Zoneminder not capable of doing modect when there is constant motion? Would I be better off setting these as "Record" until evening then going back to modect? Thank you in advance for all for the help.


Tue Apr 20, 2010 6:36 pm
Profile
User avatar

Joined: Fri Mar 05, 2004 5:47 pm
Posts: 5218
Location: /USA/Washington/Seattle
Post 
It sort of depends what is really going on. Buffer overruns occur when an activity is waiting on hardware. That could be that motion analysis is falling behind because the processor(s) can't keep up for example, or because the images are not able to be written to disk fast enough could be another reason. You could run top and see if anything is in wait state as either of the above would cause this and the ring buffer will fill up.


Thu May 06, 2010 1:50 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group