Zoneminder RAM cache on Debian Wheezy

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

Zoneminder RAM cache on Debian Wheezy

Post by zerofix » Sat Nov 22, 2014 11:18 am

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

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 :)

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests