I'm trying to setup zoneminder on a dell dimensions 3000 with 512MB of memory. I'm running debian unstable with kernel version 2.6.8. I have successfully compiled and installed zoneminder. However, I'm having problems with zoneminder having enough shared memory for the BL-C30A cameras.
The camera is setup for 320x240x 24bit color.
Image buffer size: 15
warm up frames: 15
pre/post : 5
A buffer size of 15 seems to be the maximum I can use before getting the shmget error in the logs. I have already added the following in /etc/sysctl.conf (and checked for them after rebooting)
kernel.shmall = 134217728
kernel.shmmax = 134217728
top shows 182M used and 325M free. Zoneminder works ok for 1 camera at this setting, but its not scaling any.
So I have the following questions:
1. Is there anything I'm missing so I can get get better, more usable performance?
2. What is a reasonable image buffer size for ip cameras
thanks
Setting up BL-C30A on a Dimension 3000
If I set both cameras with a buffer size of 10, I get this:
Jun 23 06:37:45 localhost zma_m3[30586]: WAR [Approaching buffer overrun, consider increasing ring buffer size]
If its any greater, I get the shmget error.
Jun 23 21:30:14 localhost zma_m3[3658]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
I followed the info on shmget listed in the faq but i still get this problem.
What buffer size and resolution are you retrieving images at?
thanks
Jun 23 06:37:45 localhost zma_m3[30586]: WAR [Approaching buffer overrun, consider increasing ring buffer size]
If its any greater, I get the shmget error.
Jun 23 21:30:14 localhost zma_m3[3658]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
I followed the info on shmget listed in the faq but i still get this problem.
What buffer size and resolution are you retrieving images at?
thanks
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact: