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

Squid TCP_MISS 100% of the time

Scheduled Pinned Locked Moved pfSense Packages
8 Posts 6 Posters 2.8k 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.
  • C
    Codgedodger
    last edited by Sep 22, 2014, 12:22 AM

    I have a setup like this…

    ISP router ---> pfSense ---> Switch ---> Desktop & WiFi Router

    For some reason I can't get squid to work. I've tried two different router OSs and with each one, in the squid log, TCP_MISS. Not a single hit... I've been trying to figure this out for the past two weeks, read countless forums and I still cant figure it out. I have a feeling it has to do with the ISP router and its messing something up. If anyone can help me fix this I will forever be in your debt.

    1 Reply Last reply Reply Quote 0
    • S
      stax
      last edited by Sep 22, 2014, 12:27 AM

      Squid is barely useful as a cache these days.

      a TCP hit of even 5% is considered good.

      1 Reply Last reply Reply Quote 0
      • C
        Codgedodger
        last edited by Sep 22, 2014, 1:02 AM Sep 22, 2014, 12:55 AM

        I have a small network (3 desktops) running same OSs and it would be beneficial if I had this set up as we all do alot of the same tasks on a daily basis.

        What would you consider to be an alternative to squid then?

        1 Reply Last reply Reply Quote 0
        • K
          KOM
          last edited by Sep 22, 2014, 1:45 PM

          Which version of pfSense and Squid?  Like stax says, dynamic content can be tricky to cache and Squid is better off these days as a filtering platform via SquidGuard.  If you have a later version of Squid that has better dynamic support, you might get farther than you are now.  I did some testing with Squid and Windows Update, for example, and it definitely helped.

          1 Reply Last reply Reply Quote 0
          • C
            Codgedodger
            last edited by Sep 22, 2014, 3:41 PM

            pfSense 2.1.5-RELEASE (i386)

            Squid 2.7.9 pkg v.4.3.4

            I've tried the most current squid3 and squid3-dev and still with all TCP_Misses

            1411354412.758    144 192.168.1.100 TCP_MISS/200 521 GET http://plex.tv/pms/:/ip - DIRECT/184.72.56.250 text/plain
            1411354474.614    115 192.168.1.100 TCP_MISS/301 865 GET http://amzn.to/1utQYIR - DIRECT/69.58.188.49 text/html
            1411354474.976     81 192.168.1.100 TCP_MISS/200 608 GET http://g-ecx.images-amazon.com/images/G/01/x-locale/common/transparent-pixel._CB386942464_.gif - DIRECT/54.230.35.14 image/gif
            1411354475.002    122 192.168.1.100 TCP_MISS/200 23915 GET http://g-ecx.images-amazon.com/images/G/01/AUIClients/AmazonUI-1bad35cc7a016ac93fa3db08dd1a43f6b947c70a.rendering_engine-not-trident.min._V2_.css - DIRECT/54.230.35.14 text/css
            1411354475.013    119 192.168.1.100 TCP_MISS/200 17182 GET http://g-ecx.images-amazon.com/images/G/01/gno/sprites/global-sprite-32-v1._CB349056651_.png - DIRECT/54.230.35.14 image/png
            1411354475.035    150 192.168.1.100 TCP_MISS/200 46683 GET http://g-ecx.images-amazon.com/images/G/01/AUIClients/RetailSearchAssets-6eee65f91af8628b9139fe74887812f376053ec2.renderskin-pc.weblab-SEARCH_34251-T1.min._V2_.css - DIRECT/54.230.35.14 text/css
            1411354475.123     66 192.168.1.100 TCP_MISS/200 13900 GET http://g-ecx.images-amazon.com/images/G/01/AUIClients/Nav-5e9b379531e17120d40d3623926139966127e968._V2_.js - DIRECT/54.230.35.14 application/x-javascript
            1411354475.155     43 192.168.1.100 TCP_MISS/200 627 GET http://g-ecx.images-amazon.com/images/G/01/x-locale/common/transparent-pixel._V386942464_.gif - DIRECT/54.230.35.14 image/gif
            1411354475.457    295 192.168.1.100 TCP_MISS/200 4762 GET http://ecx.images-amazon.com/images/I/41uiTmjntqL._AA160_.jpg - DIRECT/54.230.33.178 image/jpeg
            
            1 Reply Last reply Reply Quote 0
            • K
              kejianshi
              last edited by Sep 22, 2014, 3:49 PM

              Probably the best use I've ever gotten out of squid is getting ubuntu updates to cache for lots of computers.

              If my bandwidth was lower it would matter.

              1 Reply Last reply Reply Quote 0
              • M
                Mr.b
                last edited by Dec 13, 2014, 11:31 AM

                Im having the same trouble with the TCP_MISS's.

                Did you find a fix to get the caching working?

                1 Reply Last reply Reply Quote 0
                • H
                  hyundrax
                  last edited by Dec 16, 2014, 5:51 PM

                  same on me.. TCP_MISS always.. :(

                  squid3.jpg
                  squid3.jpg_thumb

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                    This community forum collects and processes your personal information.
                    consent.not_received