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

PFSense 2.3 Squid Cache TCP_MISS

Problems Installing or Upgrading pfSense Software
2
12
5.0k
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.
  • J
    jbourn1907
    last edited by Oct 9, 2016, 5:29 AM

    I cant find whats going wrong with my squid. All access logs is TCP_MISS/200, it means cache is not working? Cache logs message is empty. Help me please!!!

    Thanks
    squid.JPG
    squid.JPG_thumb

    1 Reply Last reply Reply Quote 0
    • K
      KOM
      last edited by Oct 10, 2016, 6:59 PM

      The Cache/Proxy forum is here.

      Your cache is working.  The page you're looking at is the dynamic squid realtime view which is something you wouldn't want to be cached in the first place.

      1 Reply Last reply Reply Quote 0
      • J
        jbourn1907
        last edited by Oct 11, 2016, 12:29 AM

        Thank you! It means I don't have any problem on my cache server? Why there are no logs on my cache? By the way thank you again.

        1 Reply Last reply Reply Quote 0
        • K
          KOM
          last edited by Oct 11, 2016, 1:18 AM

          The GUI doesn't properly show the contents of cache.log, but that log only has some squid internal stuff in it.  The realtime view is showing access.log which is where all the web access is logged.

          1 Reply Last reply Reply Quote 0
          • J
            jbourn1907
            last edited by Oct 11, 2016, 2:28 AM

            What do you mean by I wound't want? You mean Its blacklisted? Do I need to input websites to be able to cache it? Does squidguard affecting caching? Thanks

            1 Reply Last reply Reply Quote 0
            • J
              jbourn1907
              last edited by Oct 11, 2016, 2:35 AM

              Same as access.log, sorry for this, i'm still new in pfsense caching. I don't know what to do.

              Thanks for the help.

              fffff.JPG
              fffff.JPG_thumb

              1 Reply Last reply Reply Quote 0
              • K
                KOM
                last edited by Oct 11, 2016, 2:28 PM

                What do you mean by I wound't want?

                It contains details that you wouldn't care about.

                You mean Its blacklisted?

                What?

                Do I need to input websites to be able to cache it?

                Caching the dynamic web is not easy to do anymore.  It's not a magic checkbox you just tick for it to work.  To effectively cache you must analyze the site and then create refresh_patterns to handle the site.  I stopped running a disk cache since my results weren't that great.  On a corporate LAN< I was only getting a hit rate of 4-7%.  Now I just use it as a platform for squidguard URL filtering.  No caching at all.

                http://www.squid-cache.org/

                http://www.squid-cache.org/Doc/config/

                1 Reply Last reply Reply Quote 0
                • J
                  jbourn1907
                  last edited by Oct 12, 2016, 12:39 AM

                  Oh. So sad to hear this :(. I think Ill find another cache application, can you recommend me caching apps?
                  Thanks again. :D

                  1 Reply Last reply Reply Quote 0
                  • J
                    jbourn1907
                    last edited by Oct 12, 2016, 1:03 AM

                    Last favor please. Can you analyze my cache info. I don't know if caching is working great or not so that I will terminate it and replace a new server. Thanks in advance.

                    hits.JPG
                    hits.JPG_thumb

                    1 Reply Last reply Reply Quote 0
                    • K
                      KOM
                      last edited by Oct 12, 2016, 3:43 PM

                      I think Ill find another cache application, can you recommend me caching apps?

                      Good luck with that.  I know of no other.

                      I don't know if caching is working great or not

                      It's working as expected.  It's hitting the cache 25% of the time but only on small objects (25% hit rate that turns into only 4% of bytes).

                      1 Reply Last reply Reply Quote 0
                      • J
                        jbourn1907
                        last edited by Oct 13, 2016, 1:02 AM

                        Where can I see that details, I want to monitor it but I dont know how to read the cache info.

                        Thanks.

                        1 Reply Last reply Reply Quote 0
                        • K
                          KOM
                          last edited by Oct 13, 2016, 1:24 PM

                          The first 4 lines under Cache information for squid.

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