Page 1 of 1

Zoneminder RAM cache on Debian Wheezy

Posted: Sat Nov 22, 2014 11:18 am
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 :)

Re: Zoneminder RAM cache on Debian Wheezy

Posted: Fri Jan 30, 2015 8:41 am
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 :)