Page 1 of 1
Ringbuffer Issue
Posted: Wed Mar 23, 2005 11:55 am
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.
Posted: Wed Mar 23, 2005 12:44 pm
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
Posted: Wed Mar 23, 2005 1:06 pm
by LeaAnthony
In the /etc/sysctl.conf file.
Posted: Wed Mar 23, 2005 1:13 pm
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
Posted: Thu Mar 24, 2005 11:51 am
by LeaAnthony
I did reboot and it's a lot better. Thanks phil!