Good evening at all , I would have a small question .
I would like to see if it is normal that my system uses 55% ram, even when it is at rest.
Lately I have noticed that using ram never returns to low values.I use the following services :
- Docker ( Sync )
- FTP.
- OpenVNP.
- SMB.
- SSH.
- Transmission ( Not everyday ).
- Zfs.
The use of so much ram can cause problems for a long time ??.Oh is completely normal, and I worry about nothing ???.
Sorry if my questions are stupid, learning is always useful.Thanks to everyone, every advice is really useful.
Wide ram consumption
-
- OMV 3.x
- dlucca
-
-
go to system information / performance statistics / memory usage
there are different types of memery "usage"thene see here High page cache usage
-
Hi macom, thank's for reply !.This is the situation of the ram used,
and it is always high even at rest. -
-
ZFS is probably the biggest memory hog. If no limits are defined it takes as much as it can get to use it for file caching. (This has nothing to do with deduplication). When my Nas is already started the memory usage is quite small. But if I
let run a scrub orhavesome otherheavy data exchange over e.g. SMB/CIFS then about 65 to 80% of memory is occupied.
Edit 2017-11-16: Correction. A scrub did not need extensive RAM usage. -
Linux memory management tends to use all the RAM that's available by keeping applications in memory and only frees RAM when another process needs it. This is perfectly normal behavior for Linux.
-
Thanks to everyone for the answers!!!!!!.
So it's perfectly normal for the system to have this ram consumption?.
@cabrio_leo , what settings you used for the caching file ??.
Or differentiate "limits" for zfs?. -
-
@cabrio_leo , what settings you used for the caching file ??.
Or differentiate "limits" for zfs?.I changed two "arc_-.." settings. But I have to look at home later
-
@cabrio_leo you are the Number 1 !!!!!!!!
-
You are welcome
I have oriented myself at this blog: Ars walkthrough: Using the ZFS next-gen filesystem on Linux, section "Initial tuning". I did exactly what is written there.
- Create the file /etc/modprobe.d/zfs.conf if not already existing
- Add two lines:
options zfs zfs_arc_min=8589934592
options zfs zfs_arc_max=12884901888 - Reboot the server
The actual values are depending of the amount of physical RAM. My machine has 16GB. Therefore I choose this values. Currently my NAS is used as a pure file server. So I decided 12GB should be enough for ZFS. The values should be adjusted depending on available RAM. Some other values can be found also in that link.
-
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!