Hi,
I have 3 cameras on my 1.28.0 system, two at 1280x960 and one at 1280x800. I had to take one of them down to grayscale in order to get the camera working. As soon as all three are RGB24, the capture fails to run.
I'm hoping to get 4 more cameras on board. Setting shared memory didn't seem to help at all.
Any ideas what I can do?
Gerald
Multiple High Resolution Camera
Re: Multiple High Resolution Camera
What OS are you running? What are the server specs (RAM, speed, # of cores)?
-
- Posts: 134
- Joined: Tue Dec 09, 2014 10:20 pm
Re: Multiple High Resolution Camera
Core 2 Quad @ 2.66 GHz with 1GB RAM. I thought it had more...
Ubuntu 14.04 64bit
I'm only using about 1/2 the RAM though, the rest is cache.
Ubuntu 14.04 64bit
I'm only using about 1/2 the RAM though, the rest is cache.
- knight-of-ni
- Posts: 2406
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: Multiple High Resolution Camera
You need a lot more memory than just 1GB to do what you are trying to do. Zoneminder uses your ramdisk for shared memory.
For example, on my home system with 8 cameras, the ramdisk is currently at 647MB, and all but one of my cameras are vga/D1 resultion.
For example, on my home system with 8 cameras, the ramdisk is currently at 647MB, and all but one of my cameras are vga/D1 resultion.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
All of these can be found at https://zoneminder.blogspot.com/
-
- Posts: 114
- Joined: Tue Jul 27, 2010 6:36 am
Re: Multiple High Resolution Camera
My system (ubuntu 14.04 with 7 1280x720 cameras) as reported by system monitor utilizes only 1.7 gigabytes of my ram and no swap space.
ipcs -m returns the shared memory segments which total up to 74 megabytes.
Are you sure there is a ram disk? I don't see one on my system.
ipcs -m returns the shared memory segments which total up to 74 megabytes.
Are you sure there is a ram disk? I don't see one on my system.
Re: Multiple High Resolution Camera
Zoneminder does generate output to - so that's in RAM.
On my system (4 active cameras, one inactive):
Code: Select all
/dev/shm
On my system (4 active cameras, one inactive):
Code: Select all
root@cctv:/dev/shm# ls -alh
total 660M
drwxrwxrwt 2 root root 140 Nov 30 18:46 .
drwxr-xr-x 21 root root 780 Dec 13 11:25 ..
-rw------- 1 www-data www-data 176M Nov 30 18:46 zm.mmap.1
-rw------- 1 www-data www-data 132M Nov 30 18:46 zm.mmap.2
-rw------- 1 www-data www-data 176M Nov 30 18:46 zm.mmap.3
-rw------- 1 www-data www-data 132M Nov 30 18:46 zm.mmap.4
-rw------- 1 www-data www-data 44M Nov 30 18:46 zm.mmap.5
root@cctv:/dev/shm# df -h .
Filesystem Size Used Avail Use% Mounted on
none 938M 660M 279M 71% /run/shm
root@cctv:/dev/shm#
- knight-of-ni
- Posts: 2406
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: Multiple High Resolution Camera
Most every modern Linux distro has a ramdisk mapped to /dev/shm. It dynamically grows as items are placed in it. ZoneMinder uses that area to place its mmap'ed files.AnotherBrian wrote:My system (ubuntu 14.04 with 7 1280x720 cameras) as reported by system monitor utilizes only 1.7 gigabytes of my ram and no swap space.
ipcs -m returns the shared memory segments which total up to 74 megabytes.
Are you sure there is a ram disk? I don't see one on my system.
Last edited by knight-of-ni on Sat Dec 13, 2014 3:35 pm, edited 1 time in total.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
All of these can be found at https://zoneminder.blogspot.com/
-
- Posts: 134
- Joined: Tue Dec 09, 2014 10:20 pm
Re: Multiple High Resolution Camera
Thanks! Upped RAM to 2GB, and all is well. Dunno why I didn't think of that myself.knnniggett wrote:You need a lot more memory than just 1GB to do what you are trying to do. Zoneminder uses your ramdisk for shared memory.
For example, on my home system with 8 cameras, the ramdisk is currently at 647MB, and all but one of my cameras are vga/D1 resultion.
Gerald