Wide ram consumption

    • OMV 3.x

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Wide ram consumption

      New

      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. :thumbsup:
      HP GEN 8 ,SSD OS , 4x4TB WD RED ,16 G ECC Ram
    • New

      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.90 (Gray style)
      ASRock Rack C2550D4I - 16GB ECC - 6x WD RED 3TB (ZFS 2x3 Striped RaidZ1)- Fractal Design Node 304

      The post was edited 2 times, last by cabrio_leo ().

    • New

      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.
      1. Create the file /etc/modprobe.d/zfs.conf if not already existing
      2. Add two lines:
        options zfs zfs_arc_min=8589934592
        options zfs zfs_arc_max=12884901888
      3. 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.90 (Gray style)
      ASRock Rack C2550D4I - 16GB ECC - 6x WD RED 3TB (ZFS 2x3 Striped RaidZ1)- Fractal Design Node 304