Squid local cache not working



  • Hello

    Does this mean once squid is ok. i keep seeing this tcp_miss/200 when ever i view my squid's /var/squid/logs/access.log. i really need to know if i can reduce this.

    How to check squid caching working fine or not.

    Using pfblockerNg and Squid together.

    TCP_MISS/200 233 GET http://
    
     TCP_MISS/200 548543 GET http://dittotv.live-s.cdn.bitgravity.com/cdn-live/_definst_/dittotv/secure
    
    /zee_news_iwpl_3G.smil/media_w757266210_b864000_164175.ts? - ORIGINAL_DST/64.185.179.179 video/MP2T
    

    Version 2.3.2-RELEASE-p1 (amd64)
    built on Tue Sep 27 12:13:07 CDT 2016
    FreeBSD 10.3-RELEASE-p9

    CPU Type Intel(R) Xeon(R) CPU X3430 @ 2.40GHz
    Current: 2400 MHz, Max: 2401 MHz
    4 CPUs: 1 package(s) x 4 core(s)

    DNS server(s)

    127.0.0.1

    Last config change Sat Oct 8 3:43:48 IST 2016
    State table size
    0% (509/1634000) Show states
    MBUF Usage
    0% (4310/1017408)
    Load average
    0.05, 0.05, 0.04
    CPU usage
    1%
    Memory usage
    4% of 16340 MiB
    SWAP usage
    0% of 16383 MiB
    Disk usage ( / )
    6% of 39GiB - ufs
    Disk usage ( /var/run )
    3% of 3.4MiB - ufs in RAM :-
    ![Screen Shot 2016-10-08 at 12.14.04 AM.png_thumb](/public/imported_attachments/1/Screen Shot 2016-10-08 at 12.14.04 AM.png_thumb)
    ![Screen Shot 2016-10-08 at 12.14.04 AM.png](/public/imported_attachments/1/Screen Shot 2016-10-08 at 12.14.04 AM.png)
    ![Screen Shot 2016-10-08 at 12.14.19 AM.png](/public/imported_attachments/1/Screen Shot 2016-10-08 at 12.14.19 AM.png)
    ![Screen Shot 2016-10-08 at 12.14.19 AM.png_thumb](/public/imported_attachments/1/Screen Shot 2016-10-08 at 12.14.19 AM.png_thumb)
    ![Screen Shot 2016-10-08 at 12.14.31 AM.png](/public/imported_attachments/1/Screen Shot 2016-10-08 at 12.14.31 AM.png)
    ![Screen Shot 2016-10-08 at 12.14.31 AM.png_thumb](/public/imported_attachments/1/Screen Shot 2016-10-08 at 12.14.31 AM.png_thumb)



  • The Proxy/Cache forum is here.

    Looks like squid is working in general.  Check the realtime view to verify that squid is processing web content.  Increasing your hit rate is another matter altogether.  This requires advanced usage of refresh_patterns in the dynamic config section.  A lot of content these days is hard to cache.



  • yes realtime its processing every website but hit counts very very few..

    can i use pfngblockerNG with squid proxy??



  • I don't know.  I don't use pfBlockerNG.



  • Yes,you can use pfBlockerNG.


Log in to reply