Page 1 of 1

Approaching buffer overrun

Posted: Sun Feb 26, 2006 9:50 pm
by semotta
I've spc5xx webcam on FC4, zm 1.22.0 and the following warning on logs:
WAR [Approaching buffer overrun, consider slowing capture, simplifying analysis or increasing ring buffer size

Shared memory was increased: both /proc/sys/kernel/shmall and /proc/sys/kernel/shmmax are 134217728, which I think is far enough.

Monitor settings: Maximum fps: 3, palette 24 bits, Width x Heigth: 352 x 288 and
Image buffer size:10 :arrow: you have to agree it's very conservative.

An odd thing: if I increase "image buffer size" to 11, monitor goes red and stops working:
ERR [Shared memory not initialised by capture daemon]

Is there any other setting which might be affecting?

Thanks,
Sergio

Posted: Mon Feb 27, 2006 5:40 pm
by zoneminder
Increasing the image buffer size is the right thing to do as 10 is much too small but you nearly always have to do a full ZM restart to make sure this takes effect.