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

    Squid slow on one site

    Scheduled Pinned Locked Moved pfSense Packages
    6 Posts 2 Posters 2.5k 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.
    • O Offline
      orc4hire
      last edited by

      Everything else seems to be working fine, but loading one site (aa.com) is very, very slow when going through Squid.  The page starts to load, then freezes for a couple of minutes, then finishes loading.  I've tried excluding that site from caching, but the only thing that works is turning Squid off.  Every other site I've tried works fine.

      Any ideas?

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

        See approx line 1267 of /usr/local/pkg/squid.inc and add 144.9.72.134/32 to the list of non-redirected IPs  Worked for me as I just noticed we were having issues too.

        Better option is to fly Southwest.

        1 Reply Last reply Reply Quote 0
        • O Offline
          orc4hire
          last edited by

          Cool, thanks; I'll give it a try.

          Unfortunately it's management that's doing the flying, and they write the checks so I just salute and say, "I'll get right on it."

          1 Reply Last reply Reply Quote 0
          • O Offline
            orc4hire
            last edited by

            Well I tried that, restarted Squid, and it's still doing the same thing.  I changed that line to:

            $rules .= "no rdr on $iface proto tcp from any to { 192.168.0.0/16, 172.16.0.0/12, 10.0.0.0/8, 144.9.72.134/32 } port 80\n";

            But still no joy.  It loads the very top of the page, then takes about 2-3 minutes to load the rest.

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

              Try clicking save in the Squid GUI - this should reload the filters.  Restarting the service might not do this.

              1 Reply Last reply Reply Quote 0
              • O Offline
                orc4hire
                last edited by

                I realized after posting what I'd done.  In fiddling around with various settings, trying to figure out what was going on, I had unchecked the 'Bypass proxy for Private Address Space (RFC 1918) destination' setting.  Ticking that setting and making the above edit to Squid.inc.  Thanks!

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