Zoneminder RAM cache on Debian Wheezy

Forum for questions and support relating to the 1.25.x releases only.
Locked
zerofix
Posts: 1
Joined: Sat Nov 22, 2014 11:05 am

Zoneminder RAM cache on Debian Wheezy

Post by zerofix »

I`ve install Zoneminder 1.25 from wheezy repos, add some network cameras (D-Link DCS-3420), in Monitor mode everything works fine, but then I change mode to Record, Zoneminder starts to eating RAM Cache, until spend all 16 GB of RAM, after that system stuck.
I tried to change kernel shared memory values, but it dont change anything.
Anybody has the same problem?
P.S. sorry for my bad english :)
mr_C
Posts: 2
Joined: Fri Jan 30, 2015 8:18 am

Re: Zoneminder RAM cache on Debian Wheezy

Post by mr_C »

Hi Zerofix,

Have you had a look at the following page?

http://www.zoneminder.com/wiki/index.php/Debian
With a large number of cameras (or just a few HD cameras) you may also need to increase the size of /run (tmpfs). Editing /etc/sysctl.conf is no longer enough.
The easiest way to do this is to add the following line to /etc/fstab (where 50% is the size of /run in regards to your physical memory)
tmpfs /run tmpfs nodev,nosuid,size=50%,mode=755 0 0
It seemed to improve performance on one of my Debian systems.

Hope that helps :)
Locked