Approaching buffer overrun etc

Support and queries relating to all previous versions of ZoneMinder
Locked
rchurch
Posts: 31
Joined: Thu Feb 16, 2006 3:55 pm

Approaching buffer overrun etc

Post by rchurch »

I keep seeing this message in my logs?

Approaching buffer overrun, consider slowing capture, simplifying analysis or increasing ring buffer size

What does it signify?
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

it usually means your running too high for your buffers/processor. It means that the processor cant get through the frames fast enough and the buffer sint big enough when the proc has to do something else ao it nearly runs out of buffer. Either increase your buffers, slow the framerate or decrease the resolution. I notie in your other post that dropping the buffers helped and i cant see why this would
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
rchurch
Posts: 31
Joined: Thu Feb 16, 2006 3:55 pm

Post by rchurch »

The machine is an AMD 3200 with 1Gb of ram, and the values for shared memory are as below.

It has 5 cameras doing 4 frames per second, two at 352x288, and 3 at 320x240, and they are all doing plain recording.

cat /proc/sys/kernel/shmall - 201326592
cat /proc/sys/kernel/shmmax - 201326592


Below are the values from the Buffers page, and they are higher than my frame rates.

Image Buffer Size (frames) - 12
Warmup Frames -12
Pre Event Image Buffer - 10
Post Event Image Buffer - 10
Alarm Frame Count 1


Isn't that adequate?
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

You need to increase the ring buffer 12 is too low, also if in record mode drop the prea nad post alarm to 2
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Locked