how to resolve Buffer overrun at index issue Centos 6.7

Forum for questions and support relating to the 1.29.x releases only.
Locked
puneet
Posts: 25
Joined: Mon Oct 12, 2015 11:46 am

how to resolve Buffer overrun at index issue Centos 6.7

Post by puneet »

2016-04-06 14:56:17.783972 zmc_m5 2616 WAR Buffer overrun at index 46, image 55596, slow down capture, speed up analysis or increase ring buffer size zm_monitor.cpp 3100
2016-04-06 14:56:17.614942 zmc_m3 2565 WAR Buffer overrun at index 18, image 55618, slow down capture, speed up analysis or increase ring buffer size zm_monitor.cpp 3100
2016-04-06 14:56:17.554612 zmc_m4 2584 WAR Buffer overrun at index 48, image 55498, slow down capture, speed up analysis or increase ring buffer size zm_monitor.cpp 3100
2016-04-06 14:56:14.228042 zmc_m3 2565 WAR Buffer overrun at index 17, image 55567, slow down capture, speed up analysis or increase ring buffer size zm_monitor.cpp 3100
2016-04-06 14:56:14.178545 zmc_m6 3605 WAR Buffer overrun at index 41, image 6641, slow down capture, speed up analysis or increase ring buffer size zm_monitor.cpp 3100
2016-04-06 14:56:14.036244 zmc_m1 2527 WAR Buffer overrun at index 46, image 55496, slow down capture, speed up analysis or increase ring buffer size zm_monitor.cpp 3100
2016-04-06 14:56:13.935357 zmc_m5 2616 WAR Buffer overrun at index 18, image 55518, slow down capture, speed up analysis or increase ring buffer size zm_monitor.cpp 3100
2016-04-06 14:56:13.926393 zmc_m4 2584 WAR Buffer overrun at index 48, image 55448, slow down capture, speed up analysis or increase ring buffer size zm_monitor.cpp 3100
PacoLM
Posts: 971
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

Re: how to resolve Buffer overrun at index issue Centos 6.7

Post by PacoLM »

Try lowering the capture FPS on all the monitors (works better to lower it on the camera end, then leaving blank the fields in ZM). Also, you could increase the buffer size, as stated in the messages.

After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...
puneet
Posts: 25
Joined: Mon Oct 12, 2015 11:46 am

Re: how to resolve Buffer overrun at index issue Centos 6.7

Post by puneet »

Thanks For your Reply Bro

Can you please let me know where i can lowering the capture FPS (what is FPS) please tell me where i can increase the buffer size please tell me the path it will really helpful for me

Many Many thanks in Advance
SteveGilvarry
Posts: 494
Joined: Sun Jun 29, 2014 1:12 pm
Location: Melbourne, AU

Re: how to resolve Buffer overrun at index issue Centos 6.7

Post by SteveGilvarry »

Frames per Second, and you want to look in the webgui of your camera interface to find it, 5fps is plenty
Production Zoneminder 1.37.x (Living dangerously)
Random Selection of Cameras (Dahua and Hikvision)
PacoLM
Posts: 971
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

Re: how to resolve Buffer overrun at index issue Centos 6.7

Post by PacoLM »

Hi,

Under each monitor configuration you will find the fields you are looking for. In the General tab:
Maximum FPS (?): leave it blank
Alarm Maximum FPS (?): leave it blank

Then click the Buffers tab and set these values (orientative only for testing purposes, then you may need to addapt it to your needs)
Image Buffer Size (frames) : 250
Warmup Frames: 50
Pre Event Image Count: 50
Post Event Image Count: 75
Stream Replay Image Buffer: 1000
Alarm Frame Count: 3

Remember to save the configuration of the monitor and then restart Zoneminder. I would also set all the monitors except one to Monitor mode, in order to determine which configuration of buffers works better four your setup, then do the same for each monitor. Be sure that you have enough RAM for the shared memory.

Hope it helps,

PacoLM

After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...
puneet
Posts: 25
Joined: Mon Oct 12, 2015 11:46 am

Re: how to resolve Buffer overrun at index issue Centos 6.7

Post by puneet »

Thanks For your reply bro
i saw my cemeras settings webgui here its showing three settings below:
1.Analysis FPS
2. Maximum FPS (?)
3. Alarm Maximum FPS (?)

Can you please tell me which one i need to change
PacoLM
Posts: 971
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

Re: how to resolve Buffer overrun at index issue Centos 6.7

Post by PacoLM »

Leave all of them empty

After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...
SteveGilvarry
Posts: 494
Joined: Sun Jun 29, 2014 1:12 pm
Location: Melbourne, AU

Re: how to resolve Buffer overrun at index issue Centos 6.7

Post by SteveGilvarry »

I was talking about on the camera you control the number of frames per second, FPS, not in zoneminder interface. Follow PacoLM's advice on those fields in ZM.
Production Zoneminder 1.37.x (Living dangerously)
Random Selection of Cameras (Dahua and Hikvision)
Locked