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



  • 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



  • Restart squid instead of reboot machine.

    Try to reduce squid memory cache.



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



  • Other options are fine.

    The best values will depend on traffic and firewall hardware.



  • @marcelloc:

    Other options are fine.

    The best values will depend on traffic and firewall hardware.

    Thanks for ur help



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


  • Rebel Alliance Developer Netgate

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


Locked