Search squid archive

CD_PARENT_HIT but only on the top listed carp entry

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

 



The CD_PARENT_HIT's follow whatever server I have listed highest in my
config, why?
I get the images just fine.


Two types of hits I see in the log:

CD_PARENT_HIT/192.168.131.42
CARP/192.168.131.42


Part of config (there is no origin server on this box only carps,
41,42,43 & 44 have the origin server in their configs, full config file
below):

cache_peer 192.168.131.42 parent 8090 0 max-conn=2000 no-netdb-exchange
no-delay no-query proxy-only connect-timeout=25 carp  weight=100
cache_peer 192.168.131.43 parent 8090 0 max-conn=2000 no-netdb-exchange
no-delay no-query proxy-only connect-timeout=25 carp  weight=100
cache_peer 192.168.131.44 parent 8090 0 max-conn=2000 no-netdb-exchange
no-delay no-query proxy-only connect-timeout=25 carp  weight=100
cache_peer 192.168.131.41 parent 8090 0 max-conn=2000 no-netdb-exchange
no-delay no-query proxy-only connect-timeout=25 carp  weight=100 #


>From the log:

1181772603.973      1 127.0.0.1 TCP_MISS/200 2251 GET
http://aerials2.zillow.com/z11/y0/y445/x0/z11_x508_y445.jpg -
CARP/192.168.131.43 image/jpeg
1181772603.990      1 127.0.0.1 TCP_MISS/200 3024 GET
http://aerials2.zillow.com/z11/y0/y445/x0/z11_x509_y445.jpg -
CD_PARENT_HIT/192.168.131.42 image/jpeg
1181772604.003      1 127.0.0.1 TCP_MISS/200 2021 GET
http://aerials2.zillow.com/z11/y0/y445/x0/z11_x510_y445.jpg -
CD_PARENT_HIT/192.168.131.42 image/jpeg
1181772604.018      2 127.0.0.1 TCP_MISS/200 2203 GET
http://aerials2.zillow.com/z11/y0/y445/x0/z11_x511_y445.jpg -
CARP/192.168.131.44 image/jpeg
1181772604.034      1 127.0.0.1 TCP_MISS/200 1707 GET
http://aerials2.zillow.com/z11/y0/y445/x0/z11_x512_y445.jpg -
CARP/192.168.131.43 image/jpeg
1181772604.047      0 127.0.0.1 TCP_MISS/200 1893 GET
http://aerials2.zillow.com/z11/y0/y445/x0/z11_x513_y445.jpg -
CARP/192.168.131.44 image/jpeg
1181772604.061      1 127.0.0.1 TCP_MISS/200 3027 GET
http://aerials2.zillow.com/z11/y0/y445/x0/z11_x514_y445.jpg -
CARP/192.168.131.43 image/jpeg
1181772604.078      1 127.0.0.1 TCP_MISS/200 1684 GET
http://aerials2.zillow.com/z11/y0/y445/x0/z11_x515_y445.jpg -
CARP/192.168.131.42 image/jpeg
1181772604.091      1 127.0.0.1 TCP_MISS/200 2238 GET
http://aerials2.zillow.com/z11/y0/y445/x0/z11_x516_y445.jpg -
CARP/192.168.131.41 image/jpeg
1181772604.105      1 127.0.0.1 TCP_MISS/200 2536 GET
http://aerials2.zillow.com/z11/y0/y445/x0/z11_x518_y445.jpg -
CARP/192.168.131.44 image/jpeg
1181772604.122     


Full config:

 mvickers:/etc/squid# less squid.conf
mvickers:/etc/squid#
mvickers:/etc/squid#
mvickers:/etc/squid#
mvickers:/etc/squid#
mvickers:/etc/squid#
mvickers:/etc/squid#
mvickers:/etc/squid#
mvickers:/etc/squid#
mvickers:/etc/squid# cat squid.conf
visible_hostname vickers-test.zillow.com debug_options ALL,2 #http_port
80 vhost #http_port 8090 vhost http_port 8090 #enables or disable ICP
icp_port 0 #icp_port 3130 #htcp_port 4827 # # # #should be replaced with
a virtual through the F5 -MV ????
#for syntax see http://www.visolve.com/squid/squid30/neighboursel.php
#cache_peer 12.129.17.100 parent 80 0 no-query no-digest default
originserver name=aerialsdownload #cache_peer 12.129.17.100 parent 80 0
no-query no-digest default originserver name=aerialsdownload #cache_peer
12.129.17.100 parent 80 0 no-query no-digest default originserver
#cache_peer 12.129.17.100 parent 80 0 no-query no-digest originserver
name=aerialsdownload #cache_peer 12.129.17.100 parent 80 0 no-query
no-digest name=aerialsdownload #cache_peer 12.129.17.100 parent 80 0
no-query no-digest name=aerialsdownload #cache_peer 10.10.12.45 parent
80 0 no-query no-digest default originserver # #cache_peer
192.168.131.43 sibling 8090 3130 proxy-only no-digest no-query weight=10
#cache_peer 192.168.131.44 sibling 8090 3130 proxy-only no-digest
no-query weight=10 #cache_peer 192.168.131.43 parent 8090 0  carp
#cache_peer 192.168.131.44 parent 8090 0  carp #cache_peer
192.168.131.43 sibling 8090 7  carp #cache_peer 192.168.131.44 sibling
8090 7  carp # icp is on UDP port 3130 #cache_peer 192.168.131.41
sibling 8090 3130 proxy-only #cache_peer 192.168.131.42 sibling 8090
3130 proxy-only #cache_peer 192.168.131.43 multicast 8090 0 proxy-only
name=aerialsdownload #cache_peer 192.168.131.44 multicast 8090 0
proxy-only name=aerialsdownload #cache_peer 192.168.131.43 sibling 8090
7  carp proxy-only #cache_peer 192.168.131.44 sibling 8090 7  carp
proxy-only #cache_peer 192.168.131.43 sibling 8090 3130 proxy-only
no-digest no-query weight=10 #cache_peer 192.168.131.44 sibling 8090
3130 proxy-only no-digest no-query weight=10 #cache_peer 192.168.131.43
sibling 8090 3130 proxy-only no-digest weight=10 #cache_peer
192.168.131.44 sibling 8090 3130 proxy-only no-digest weight=10
#cache_peer 192.168.131.43 sibling 8090 3130 proxy-only  weight=10
#cache_peer 192.168.131.44 sibling 8090 3130 proxy-only  weight=10
#cache_peer 192.168.131.43 sibling 8090 4827 proxy-only  weight=10
#cache_peer 192.168.131.44 sibling 8090 4827 proxy-only  weight=10
#cache_peer 192.168.131.43 sibling 8090 4827 htcp proxy-only  weight=10
#cache_peer 192.168.131.44 sibling 8090 4827 htcp proxy-only  weight=10
#cache_peer 192.168.131.43 parent 8090 0 no-query connect-timeout=5
proxy-only carp  weight=10 #cache_peer 192.168.131.44 parent 8090 0
no-query connect-timeout=5 proxy-only carp  weight=10 #cache_peer
192.168.131.43 parent 8090 0 no-query connect-timeout=5 carp  weight=10
#cache_peer 192.168.131.44 parent 8090 0 no-query connect-timeout=5 carp
weight=10 #cache_peer 192.168.131.43 parent 8090 0 no-query
connect-timeout=5  weight=10 name=aerialsdownload #cache_peer
192.168.131.44 parent 8090 0 no-query connect-timeout=5  weight=10
name=aerialsdownload #cache_peer 192.168.131.43 sibling 8090 0 no-query
connect-timeout=5  weight=10 #cache_peer 192.168.131.44 sibling 8090 0
no-query connect-timeout=5  weight=10 #cache_peer 192.168.131.43 sibling
8090 0 no-query no-digest connect-timeout=5 weight=10 #cache_peer
192.168.131.44 sibling 8090 0 no-query no-digest connect-timeout=5
weight=10 #cache_peer 192.168.131.43 sibling 8090 0 no-query
connect-timeout=5  weight=10 #cache_peer 192.168.131.44 sibling 8090 0
no-query connect-timeout=5  weight=10 #cache_peer 192.168.131.43 sibling
8090 0 no-digest connect-timeout=5 weight=10 #cache_peer 192.168.131.44
sibling 8090 0 no-digest connect-timeout=5 weight=10 #recompiled
--enable-carp  might have worked #cache_peer 192.168.131.43 parent 8090
0 no-query connect-timeout=5 carp  weight=10 #cache_peer 192.168.131.44
parent 8090 0 no-query connect-timeout=5 carp  weight=10 #add proxy-only
#cache_peer 192.168.131.43 parent 8090 0 no-query proxy-only
connect-timeout=5 carp  weight=100 #cache_peer 192.168.131.44 parent
8090 0 no-query proxy-only connect-timeout=5 carp  weight=100 #ok that
worked but only about 1/3 of the traffic went to the carps and no-digest
#cache_peer 192.168.131.43 parent 8090 0 no-digest no-query proxy-only
connect-timeout=5 carp  weight=100 #cache_peer 192.168.131.44 parent
8090 0 no-digest no-query proxy-only connect-timeout=5 carp  weight=100
#started notthing hit carps try round-robin #cache_peer 192.168.131.43
parent 8090 0 round-robin no-query proxy-only connect-timeout=5 carp
weight=100 #cache_peer 192.168.131.44 parent 8090 0 round-robin no-query
proxy-only connect-timeout=5 carp  weight=100 # only 1/3 hit the carps
now  try max-conn #cache_peer 192.168.131.43 parent 8090 0 max-conn=2000
no-query proxy-only connect-timeout=5 carp  weight=100 #cache_peer
192.168.131.44 parent 8090 0 max-conn=2000 no-query proxy-only
connect-timeout=5 carp  weight=100 # only 1/3 hit the carps now  try
max-conni add longer timeout #cache_peer 192.168.131.43 parent 8090 0
max-conn=2000 no-query proxy-only connect-timeout=25 carp  weight=100
#cache_peer 192.168.131.44 parent 8090 0 max-conn=2000 no-query
proxy-only connect-timeout=25 carp  weight=100 # only 1/3 hit the carps
now  try max-conni add no-delay #cache_peer 192.168.131.43 parent 8090 0
max-conn=2000 no-delay no-query proxy-only connect-timeout=25 carp
weight=100 #cache_peer 192.168.131.44 parent 8090 0 max-conn=2000
no-delay no-query proxy-only connect-timeout=25 carp  weight=100 # only
1/3 hit the carps now  try max-conni add no-delay #cache_peer
192.168.131.41 parent 8090 0 max-conn=2000 no-netdb-exchange no-delay
no-query proxy-only connect-timeout=25 carp  weight=100 cache_peer
192.168.131.42 parent 8090 0 max-conn=2000 no-netdb-exchange no-delay
no-query proxy-only connect-timeout=25 carp  weight=100 cache_peer
192.168.131.43 parent 8090 0 max-conn=2000 no-netdb-exchange no-delay
no-query proxy-only connect-timeout=25 carp  weight=100 cache_peer
192.168.131.44 parent 8090 0 max-conn=2000 no-netdb-exchange no-delay
no-query proxy-only connect-timeout=25 carp  weight=100 cache_peer
192.168.131.41 parent 8090 0 max-conn=2000 no-netdb-exchange no-delay
no-query proxy-only connect-timeout=25 carp  weight=100 #
########################################################################
############
#Memory usage settings
########################################################################
############
maximum_object_size_in_memory 5 MB
#cache_mem 8 MB
#cache_mem 1 GB
#cache_mem 100 KB
cache_mem 1 MB

########################################################################
############
# Disk usgage settings
########################################################################
############
#Don't use any disk cache
cache_dir null /tmp

#
#
########################################################################
############
#Defaults from the distribution squid.conf
########################################################################
############
#http_port 3128
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY
acl apache rep_header Server ^Apache
broken_vary_encoding allow apache
access_log /var/log/squid/access.log squid hosts_file /etc/hosts
refresh_pattern ^ftp:           1440    20%     10080
refresh_pattern ^gopher:        1440    0%      1440
refresh_pattern .               0       20%     4320
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255 acl to_localhost dst
127.0.0.0/8
acl SSL_ports port 443          # https
acl SSL_ports port 563          # snews
acl SSL_ports port 873          # rsync
acl Safe_ports port 80          # http
acl Safe_ports port 21          # ftp
acl Safe_ports port 443         # https
acl Safe_ports port 70          # gopher
acl Safe_ports port 210         # wais
acl Safe_ports port 1025-65535  # unregistered ports
acl Safe_ports port 280         # http-mgmt
acl Safe_ports port 488         # gss-http
acl Safe_ports port 591         # filemaker
acl Safe_ports port 777         # multiling http
acl Safe_ports port 631         # cups
acl Safe_ports port 873         # rsync
acl Safe_ports port 901         # SWAT
acl purge method PURGE
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access allow purge localhost
http_access deny purge
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
#http_access deny all
http_access allow all
http_reply_access allow all
icp_access allow all
cache_effective_group proxy
coredump_dir /var/spool/squid

mvickers:/etc/squid#   




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

  Powered by Linux