Search squid archive

squid3 no cache hits

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm running squid3 on Debian testing amd64 and I'm seeing only
TCP_MISS entries in the access.log and a very few
TCP_REFRESH_UNMODIFIED entries. Nothing seems to get cached as it
should.

Changing reload_into_ims to "on" didn't make a difference. Is there a
problem with my configuration that prevents the caching?

Configuration settings (grep -v \^# /etc/squid3/squid.conf | cat -sn):


     1
     2  acl manager proto cache_object
     3  acl localhost src 127.0.0.1/32
     4  acl localhost src ::1/128
     5  acl to_localhost dst 127.0.0.0/8 0.0.0.0/32
     6  acl to_localhost dst ::1/128
     7
     8  acl localnet src 192.168.178.0/24       # RFC1918 possible internal network
     9
    10  acl SSL_ports port 443
    11  acl Safe_ports port 80          # http
    12  acl Safe_ports port 21          # ftp
    13  acl Safe_ports port 443         # https
    14  acl Safe_ports port 70          # gopher
    15  acl Safe_ports port 210         # wais
    16  acl Safe_ports port 1025-65535  # unregistered ports
    17  acl Safe_ports port 280         # http-mgmt
    18  acl Safe_ports port 488         # gss-http
    19  acl Safe_ports port 591         # filemaker
    20  acl Safe_ports port 777         # multiling http
    21  acl CONNECT method CONNECT
    22
    23  http_access allow manager localhost
    24  http_access deny manager
    25
    26  http_access deny !Safe_ports
    27
    28  http_access deny CONNECT !SSL_ports
    29
    30  http_access allow localnet
    31  http_access allow localhost
    32
    33  http_access deny all
    34
    35  http_port 3128
    36
    37  hierarchy_stoplist cgi-bin ?
    38
    39  cache_mem 128 MB
    40
    41  maximum_object_size_in_memory 4 MB
    42
    43  cache_dir ufs /var/spool/squid3 20480 128 256
    44
    45  minimum_object_size 0 KB
    46
    47  maximum_object_size 4 GB
    48
    49  logformat squidmime %tl %6tr %>a %Ss/%03>Hs %<st %rm %ru %un %Sh/%<A %mt [%>h] [%<h]
    50
    51  coredump_dir /var/spool/squid3
    52
    53  refresh_pattern ^ftp:           1440    20%     10080
    54  refresh_pattern ^gopher:        1440    0%      1440
    55  refresh_pattern -i (/cgi-bin/|\?) 0     0%      0
    56  refresh_pattern .               0       20%     4320
    57
    58  quick_abort_min 16 KB
    59  quick_abort_pct 85
    60
    61  reload_into_ims on
    62


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux