Increasing Memory Percentage Help

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
krizzle
Posts: 19
Joined: Tue Oct 30, 2018 6:07 pm

Increasing Memory Percentage Help

Post by krizzle »

Hello!

I'm following the docs to increase the memory percentage on my ZM server. From what I understand, by default the memory usage is set to 50%, I would like to increase this to 70%. I am fairly new to Linux but have had ZM running for a bit now on my server. Can anyone help me walk through the procedure for increasing the memory percentage?

Doc I'm following: https://zoneminder.readthedocs.io/en/st ... ur-cameras

After entering the "df -h" command it comes back with this:
df -h
df -h
zm.PNG (15.12 KiB) Viewed 1225 times
I see multiple tmpfs, what does this mean?

Also after entering "/etc/fstab" I get this result:
etc/fstab
etc/fstab
zm2.PNG (4.09 KiB) Viewed 1225 times
and this result with "tmpfs SHMPATH tmpfs defaults,noexec,nosuid,size=70% 0 0" :
line
line
sm3.PNG (8.61 KiB) Viewed 1225 times
Any help on how I should proceed to properly increase the memory would be appreciated. Thanks.
dougmccrary
Posts: 1150
Joined: Sat Aug 31, 2019 7:35 am
Location: San Diego

Re: Increasing Memory Percentage Help

Post by dougmccrary »

Consider just going to 1.36.
It's inconsequential in that.
lbm
Posts: 87
Joined: Mon Mar 26, 2018 7:44 pm

Re: Increasing Memory Percentage Help

Post by lbm »

I think you got some basic understandings wrong.

tmpfs is not an command, but an "temporary filesystem"
/etc/fstab is not an command, but an file which you must edit.

So to change the tmpfs allocation, edit the file, using vim, nano, emacs or whatever. (nano, might be easier for new users).
And change the line, to look like this in the file. If its not there add it, and save the file.

Code: Select all

none      /dev/shm        tmpfs   defaults,size=70%        0 0
Then remount, for the changes to apply

Code: Select all

mount -o remount /dev/shm/
Post Reply