Wide ram consumption

  • 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. :thumbup:

    HP GEN 8 ,SSD OS , 4x4TB WD RED ,16 G ECC Ram

  • 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 or have some other heavy 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.

    OMV 3.0.100 (Gray style)

    ASRock Rack C2550D4I C0-stepping - 16GB ECC - 6x WD RED 3TB (ZFS 2x3 Striped RaidZ1) - Fractal Design Node 304 -

    3x WD80EMAZ Snapraid / MergerFS-pool via eSATA - 4-Bay ICYCube MB561U3S-4S with fan-mod

    2 Mal editiert, zuletzt von cabrio_leo ()

  • 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?.

    HP GEN 8 ,SSD OS , 4x4TB WD RED ,16 G ECC Ram

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

    OMV 3.0.100 (Gray style)

    ASRock Rack C2550D4I C0-stepping - 16GB ECC - 6x WD RED 3TB (ZFS 2x3 Striped RaidZ1) - Fractal Design Node 304 -

    3x WD80EMAZ Snapraid / MergerFS-pool via eSATA - 4-Bay ICYCube MB561U3S-4S with fan-mod

  • 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.

    OMV 3.0.100 (Gray style)

    ASRock Rack C2550D4I C0-stepping - 16GB ECC - 6x WD RED 3TB (ZFS 2x3 Striped RaidZ1) - Fractal Design Node 304 -

    3x WD80EMAZ Snapraid / MergerFS-pool via eSATA - 4-Bay ICYCube MB561U3S-4S with fan-mod

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!