Ringbuffer Issue

Support and queries relating to all previous versions of ZoneMinder
Locked
LeaAnthony
Posts: 7
Joined: Tue Mar 22, 2005 10:47 am

Ringbuffer Issue

Post by LeaAnthony »

Hi. I'm getting streams of errors regarding the ring buffer size. I've got 4 Axis 205 cameras set to modect with the ring buffers on each set to 10. If I set it to anything more I get shm errors, even though I have set the shm size to 500M!
The server has 1G of RAM which should be enough for 4 cameras, no?

Cheers for any advice.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

I suspect a config error somewhere. I can run about 15 cameras with ring buffers ranging from 40 to 100 in the same amount of memory so you shouldn't have any problem. 10 really is too small and I would recommend 40 at the minimum. It's always worth fully restarting ZM when increasing shared memory usage in any way.

When you say you have set the shm size to 500M, where did you do this?

Phil
LeaAnthony
Posts: 7
Joined: Tue Mar 22, 2005 10:47 am

Post by LeaAnthony »

In the /etc/sysctl.conf file.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

I assume you are aware that changes to this file don't take effect until a reboot. You have to change the /proc files if you want immediate effect.

Phil
LeaAnthony
Posts: 7
Joined: Tue Mar 22, 2005 10:47 am

Post by LeaAnthony »

I did reboot and it's a lot better. Thanks phil!
Locked