Zoneminder /dev/shm: 100%

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
NXT
Posts: 11
Joined: Sat Feb 08, 2020 4:44 pm

Zoneminder /dev/shm: 100%

Post by NXT » Sat Feb 08, 2020 4:50 pm

Hi all,

I'm new to Zoneminder.
So installed Zoneminder on my Synology NAS with Docker.
Now I installed 2 camera's but need 2 more but the /dev/shm is already 100%.
shm 64M 53M 12M 83% /dev/shm
Is it possible to upgrade it so I can add more camera's?

Thanks!

CountyLine
Posts: 63
Joined: Thu Aug 29, 2019 5:22 pm
Location: USA

Re: Zoneminder /dev/shm: 100%

Post by CountyLine » Sat Feb 08, 2020 5:11 pm

If you are asking if it possible to upgrade the memory in your NAS, you should post the model number and its currently installed RAM.

As the owner of a couple of Synology boxes, I really don't believe they are suitable for use as a ZoneMinder server, especially if they are running a bunch of other applications. Synology Corp does have their own surveillance package available, which might be worth checking into. It should be tailored for the NAS's limited CPU and memory capacity.

fontiano
Posts: 22
Joined: Wed Dec 25, 2019 10:29 am

Re: Zoneminder /dev/shm: 100%

Post by fontiano » Sat Feb 08, 2020 5:19 pm

I think you need more RAM. By default new linux distros allocate to /dev/shm half of the system ram dynamically. According to the total RAM of the system you can increase or decrease "/dev/shm" dimension.

A way to do that is to edit "/etc/fstab" file and use "mount -o remount /dev/shm" command.

In zoneminder 1.30.4 it was not mandatory using "/dev/shm".

In 1.34.x I'm not sure but I think it is.
zm 1.34.19 - Debian 10

NXT
Posts: 11
Joined: Sat Feb 08, 2020 4:44 pm

Re: Zoneminder /dev/shm: 100%

Post by NXT » Sat Feb 08, 2020 5:31 pm

Thanks for the fast response.

I have 16GB of ram. So it should be OK?
But is it possible to increase it and how?

Thanks!

bbunge
Posts: 2698
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Zoneminder /dev/shm: 100%

Post by bbunge » Sat Feb 08, 2020 5:34 pm

If you are running in Docker you need to increase RAM for Docker.

Better yet, dump Docker and just install Zoneminder under the OS.

NXT
Posts: 11
Joined: Sat Feb 08, 2020 4:44 pm

Re: Zoneminder /dev/shm: 100%

Post by NXT » Sat Feb 08, 2020 5:53 pm

How do I increase the RAM of Docker?
Under OS, you mean to run Zoneminder under Ubuntu?

bbunge
Posts: 2698
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Zoneminder /dev/shm: 100%

Post by bbunge » Sat Feb 08, 2020 6:32 pm

NXT wrote:
Sat Feb 08, 2020 5:53 pm
How do I increase the RAM of Docker?
Under OS, you mean to run Zoneminder under Ubuntu?
Google is your friend for your Docker questions.

Yes, without Docker.I also feel that the NAS is not powerful enough to do a decent job with Zoneminder and all the other processes you expect a NAS to do.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests