Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Why memory shows high, and goes low after restart of PSsense

    Scheduled Pinned Locked Moved Off-Topic & Non-Support Discussion
    7 Posts 4 Posters 4.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      nearones
      last edited by

      Dear Expert,
      Why does my memory usage shows high and goes down after pfsense is been restarted, can u help me out regarding my configs

      Below is my configs for Cache Management
      Hard disk cache size : 4096 MB
      Hard disk cache system : ufs (please explain what this means)
      Memory cache size : 512 MB
      Minimum object size : 0
      Maximum object size : 1024
      Maximum object size in RAM : 10240
      Level 1 subdirectories : 16
      Memory replacement policy : Heap GDSF (please explain what this means)
      Cache replacement policy : Heap LFUDA (please explain what this means)
      For Traffic Management
      Maximum download size : 10240
      Maximum upload size : 10240
      Overall bandwidth throttling : 0
      Per-host throttling : 0
      Finish transfer if less than x KB remaining : 0
      Abort transfer if more than x KB remaining : 0
      Finish transfer if more than x % finished : 0

      Please Guide on above config are the required any corrections
      Memory.jpg
      Memory.jpg_thumb

      1 Reply Last reply Reply Quote 0
      • marcellocM
        marcelloc
        last edited by

        Restart squid instead of reboot machine.

        Try to reduce squid memory cache.

        Treinamentos de Elite: http://sys-squad.com

        Help a community developer! ;D

        1 Reply Last reply Reply Quote 0
        • N
          nearones
          last edited by

          @marcelloc:

          Restart squid instead of reboot machine.

          Try to reduce squid memory cache.

          Thanks for ur reply, my server is for 1GB RAM and I had change to 256MB. Can you also look into the other setting what i had mentioned, have i configured correctly?

          Thanks again.
          Prashant Chauhan

          1 Reply Last reply Reply Quote 0
          • marcellocM
            marcelloc
            last edited by

            Other options are fine.

            The best values will depend on traffic and firewall hardware.

            Treinamentos de Elite: http://sys-squad.com

            Help a community developer! ;D

            1 Reply Last reply Reply Quote 0
            • N
              nearones
              last edited by

              @marcelloc:

              Other options are fine.

              The best values will depend on traffic and firewall hardware.

              Thanks for ur help

              1 Reply Last reply Reply Quote 0
              • Cry HavokC
                Cry Havok
                last edited by

                Memory usage should be high - if it isn't then it is being wasted. Any modern OS will maximise memory use, even if it is just for buffers and caches.

                1 Reply Last reply Reply Quote 0
                • jimpJ
                  jimp Rebel Alliance Developer Netgate
                  last edited by

                  @Cry:

                  Memory usage should be high - if it isn't then it is being wasted. Any modern OS will maximise memory use, even if it is just for buffers and caches.

                  ^ This.

                  Free RAM is wasted RAM. If it isn't in active use it can be used for caching and such. As the system is up it will tune the requirements in a bit. You can see more detail about the breakdown by watching the 'top' output or viewing Diagnostics > System Activity.

                  Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                  Need help fast? Netgate Global Support!

                  Do not Chat/PM for help!

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.