Constant Motion = Buffer Overrunn

Forum for questions and support relating to the 1.24.x releases only.
clint09
Posts: 5
Joined: Tue Apr 20, 2010 5:13 pm

Constant Motion = Buffer Overrunn

Postby clint09 » Tue Apr 20, 2010 5:36 pm

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: Select all

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.

User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle
Contact:

Postby cordel » Thu May 06, 2010 12:50 am

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.


Return to “ZoneMinder 1.24.x”

Who is online

Users browsing this forum: No registered users and 0 guests