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:
I see multiple tmpfs, what does this mean?
Also after entering "/etc/fstab" I get this result:
and this result with "tmpfs SHMPATH tmpfs defaults,noexec,nosuid,size=70% 0 0" :
Any help on how I should proceed to properly increase the memory would be appreciated. Thanks.
Increasing Memory Percentage Help
-
- Posts: 1340
- Joined: Sat Aug 31, 2019 7:35 am
- Location: San Diego
Re: Increasing Memory Percentage Help
Consider just going to 1.36.
It's inconsequential in that.
It's inconsequential in that.
Re: Increasing Memory Percentage Help
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.
Then remount, for the changes to apply
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
Code: Select all
mount -o remount /dev/shm/