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

    Why should Squids "Memory Cache Size" (RAM) not exceed 50%?

    Scheduled Pinned Locked Moved General pfSense Questions
    3 Posts 2 Posters 8.0k 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.
    • R
      rockinthesixstring
      last edited by

      I'm looking at the Squid notes

      Memory cache size: The amount of RAM that squid should claim for cahcing. Use as much as can be spared, as this is much faster than caching to disk. It should not exceed 50% of the installed RAM, however.

      And I'm wondering why I can't use more than 50% of my total memory for Squid?

      My system has 2 GB of RAM and is currently using 30% of it.  I'm only supporting about 10 devices on the network and only 5 users browsing the web.  If my ram isn't being used for anything else, why is it recommended that I don't use it for Squid?

      Chase
      Link Removed
      PFSense 2.0.1 - RELEASE

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

        Probably due to this:

        http://wiki.squid-cache.org/SquidFaq/SquidMemory#I_set_cache_mem_to_XX.2C_but_the_process_grows_beyond_that.21

        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
        • R
          rockinthesixstring
          last edited by

          @jimp:

          Probably due to this:

          http://wiki.squid-cache.org/SquidFaq/SquidMemory#I_set_cache_mem_to_XX.2C_but_the_process_grows_beyond_that.21

          Thanks for the link.  I looked around but never came up with that link.

          Chase
          Link Removed
          PFSense 2.0.1 - RELEASE

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