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

    Squid not serving from cache?

    Scheduled Pinned Locked Moved pfSense Packages
    4 Posts 3 Posters 2.2k 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.
    • M Offline
      mhab12
      last edited by

      We are again experiencing an issue where all traffic is flowing through squid and we are even seeing TCP_HIT many times in the access log, however speeds are still limited to our WAN bandwidth.  This happened a few versions back and corrected itself in a new squid version.  Here is the relevant post (now locked?) http://forum.pfsense.org/index.php/topic,9398.0.html  Does anyone know what caused this before or remember the solution?  Can somebody confirm that they are getting LAN like speeds on cached downloads in a similar setup?

      Squid 2.6.21_07 / pfSense 1.2.2 built on Thu Jan 8 22:30:24 EST 2009

      1 Reply Last reply Reply Quote 0
      • T Offline
        trendchiller
        last edited by

        it also depends on file size, etc… which files are caches by squid... do not expect a 600mb cd image to be cached it you configured maximum object size 20 mb :-)

        1 Reply Last reply Reply Quote 0
        • M Offline
          mhab12
          last edited by

          We solved the problem some time ago.  It had to do with updating Squid & pfSense versions several times and restoring a rather dated backup of the old version.  When I did a clean install for another installation, I realized the default options had changed substantially from the backups that I kept loading.  Changing the settings to the 'new defaults' solved our problems.  We're seeing about 14 mB/sec with cached items now.

          1 Reply Last reply Reply Quote 0
          • C Offline
            CompMaster
            last edited by

            I uninstalled squid and squidguard this morning and reinstalled both packages. Works perfect now.

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