Page 1 of 1

Setting up BL-C30A on a Dimension 3000

Posted: Sat Jun 25, 2005 12:00 am
by camus
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

Posted: Sat Jun 25, 2005 4:35 pm
by Baylink
The c30 is just the wireless c-10, and I have 2 of those running in 256MB real memory. What are you seeing in your syslog?

Posted: Sun Jun 26, 2005 2:25 am
by camus
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

Posted: Sun Jun 26, 2005 7:16 pm
by Baylink
At the moment I'm at 320x240, and I don't remember what the SMH settings are. The machine is off-line until I get the wireless hung Monday morning; I'll pull a setup dump after that.

Posted: Mon Jun 27, 2005 9:11 am
by zoneminder
Don't forget to do a full ZM restart if you increase buffer sizes of image sizes (or anything that increases shm use). Otherwise not everything lets go of the existing segment and it can't delete it and create a new bigger one.

Phil

Posted: Tue Sep 13, 2005 4:04 pm
by jameswilson
im getting one of these to try and was wondering what you all think of them and can you disable the privacy button??

James

**edit the c10 non wireless ones

Posted: Thu Sep 15, 2005 9:45 pm
by zoneminder
A buffer size of 10 is a bit small by the way. I would try it at at least 40 initially.

Phil