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

    Squid working?

    Scheduled Pinned Locked Moved pfSense Packages
    4 Posts 3 Posters 2.3k 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.
    • J
      JustinHoMi
      last edited by

      I'm trying to test if squid is working or not, but it doesn't seem to be, although my methodology could be wrong.

      I set "maximum object size" to 10000k. Then I downloaded firefox from mozilla.com. After doing this, I checked /var/squid/cache, and the size increased by about 5MB. Good. Then I deleted the browser cache and tried again using the same url. The download speed was no faster than before (150KB/s). After the download was complete this log entry was written:

      1210564836.025  40647 192.168.2.5 TCP_HIT/200 6039471 GET http://ftp-mozilla.netscape.com/pub/mozilla.org/firefox/releases/2.0.0.14/win32/en-US/Firefox%20Setup%202.0.0.14.exe - NONE/- application/octet-stream
      
      

      It says it was a HIT… but was it really? The download should have been at LAN speeds, not typical ADSL speeds.

      Any ideas on how to further test this to be sure it's working?

      1 Reply Last reply Reply Quote 0
      • J
        JustinHoMi
        last edited by

        Ah, could the traffic shaper be limiting my bandwidth? That would make more sense….

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

          Same for me.  I'm not sure the issue.  I know mine is working as I often see 5 MByte/sec within our office when we only have 3 MBit bandwidth.  I'll keep an eye out for other sites not being served from cache.

          1 Reply Last reply Reply Quote 0
          • F
            fellesnelle
            last edited by

            I've the same thing. When I go to sites were are pictures to download with a slideshow, and I go back to the same URL, it seems that the pictures are not comming from the proxy but directly from the internet.
            Can this be a bug?

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