[squid-users] Sibling A does not respond with sibling_hit even though there is a refreshed item in the sibling B (Squid 3.1)

From: sugusbs <sugusbs_at_naver.com>
Date: Sun, 24 Mar 2013 22:55:08 -0700 (PDT)

1. Sibling A receives 1st request for R and responds with tcp_miss and
FIRST_UP_PARENT.
2. Sibling B receives 2nd request for R and responds with sibling_hit
due to sibling A.
3. After R object gets expired, sibling A receives 3rd request for R and
responds with tcp_miss and FIRST_UP_PARENT.
4. Sibling B receives 4th request for R and should respond with
sibling_hit but tcp_miss and FIRST_UP_PARENT.

The object R has been refreshed in step 3, why does sibling B responds with
FIRST_UP_PARENT in step 4? Another weird thing is that there is no icp_query
log in access.log after the object R got expired.

Is it because of my conf?

below is my conf.
authenticate_cache_garbage_interval 3600 seconds
authenticate_ttl 3600 seconds
authenticate_ip_ttl 0 seconds
acl all src ::/0
acl our_sites dstdomain os-private-beta.line.naver.jp
acl manager proto cache_object
acl localhost src ::1 127.0.0.1
acl to_localhost dst ::1 0.0.0.0 127.0.0.0/8
acl sibling2 src 10.101.28.153
acl sibling3 src 10.101.31.186
acl localnet src 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16
acl SSL_ports port 443
acl Safe_ports port 80 21 443 70 210 1025-65535 280 488 591 777 20080
acl CONNECT method CONNECT
follow_x_forwarded_for Deny all
acl_uses_indirect_client on
delay_pool_uses_indirect_client on
log_uses_indirect_client on
http_access Allow our_sites
http_access Allow manager localhost
http_access Allow manager localnet
http_access Deny manager
http_access Deny !Safe_ports
http_access Deny CONNECT !SSL_ports
http_access Deny to_localhost
http_access Allow localnet
http_access Allow localhost
http_access Deny all
icp_access Allow localnet
icp_access Deny all
htcp_access Deny all
htcp_clr_access Deny all
miss_access Allow all
ident_lookup_access Deny all
http_port 0.0.0.0:80 defaultsite=os-private-beta.line.naver.jp name=80
connection-auth=on
http_port 0.0.0.0:20080 name=20080 connection-auth=on
ssl_unclean_shutdown off
sslproxy_version 1
cache_peer 10.101.55.24 Parent 80 0 name=obsAccel no-query no-digest
originserver connection-auth=auto
cache_peer_access obsAccel Allow our_sites
cache_peer_access obsAccel Deny all
cache_peer 10.101.28.153 Sibling 80 3130 name=obsSquid2 no-digest no-delay
connection-auth=auto
cache_peer_access obsSquid2 Allow our_sites
cache_peer 10.101.31.186 Sibling 80 3130 name=obsSquid3 no-digest no-delay
connection-auth=auto
cache_peer_access obsSquid3 Allow our_sites
dead_peer_timeout 10 seconds
forward_max_tries 10
hierarchy_stoplist cgi-bin
hierarchy_stoplist ?
cache_mem 268435456 bytes
maximum_object_size_in_memory 524288 bytes
memory_replacement_policy lru
cache_replacement_policy lru
cache_dir ufs /home1/squid/cache 1024 16 256 IOEngine=Blocking
store_dir_select_algorithm least-load
max_open_disk_fds 0
minimum_object_size 0 bytes
maximum_object_size 209715200 bytes
cache_swap_low 90
cache_swap_high 95
logformat custom %tl %6tr %>a %Ss/%03>Hs %<st %rm %ru %un %Sh/%<A %mt
access_log /var/log/squid/access.log squid
access_log /var/log/squid/access_custom.log custom
access_log none manager
cache_store_log /var/log/squid/store.log
logfile_rotate 7
emulate_httpd_log off
log_ip_on_direct on
mime_table /etc/squid/mime.conf
log_mime_hdrs off
pid_filename /var/run/squid.pid
log_fqdn off
client_netmask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
strip_query_terms on
buffered_logs off
cache_log /var/log/squid/cache.log
debug_options ALL,1 rotate=7
coredump_dir /var/spool/squid
ftp_user Squid@
ftp_list_width 32
ftp_passive on
ftp_epsv_all off
ftp_epsv on
ftp_sanitycheck on
ftp_telnet_protocol on
diskd_program /usr/lib64/squid/diskd
unlinkd_program /usr/lib64/squid/unlinkd
url_rewrite_children 5
url_rewrite_concurrency 0
url_rewrite_host_header on
url_rewrite_bypass off
refresh_pattern ^http: 2 20% 5
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern . 0 20% 4320
quick_abort_min 16 KB
quick_abort_max 16 KB
quick_abort_pct 95
read_ahead_gap 16384 bytes
negative_ttl 0 seconds
positive_dns_ttl 21600 seconds
negative_dns_ttl 60 seconds
range_offset_limit 0 bytes
minimum_expiry_time 60 seconds
store_avg_object_size 13 KB
store_objects_per_bucket 20
request_header_max_size 65536 bytes
reply_header_max_size 65536 bytes
request_body_max_size 0 bytes
client_request_buffer_max_size 524288 bytes
chunked_request_body_max_size 65536 bytes
icap_uses_indirect_client on
via on
ie_refresh off
vary_ignore_expire off
request_entities off
relaxed_header_parser on
ignore_expect_100 off
forward_timeout 240 seconds
connect_timeout 60 seconds
peer_connect_timeout 30 seconds
read_timeout 900 seconds
request_timeout 300 seconds
persistent_request_timeout 120 seconds
client_lifetime 86400 seconds
half_closed_clients off
pconn_timeout 60 seconds
ident_timeout 10 seconds
shutdown_lifetime 30 seconds
mail_program mail
cache_effective_user squid
httpd_suppress_version_string off
umask 23
announce_period 31536000 seconds
announce_host tracker.ircache.net
announce_port 3131
httpd_accel_surrogate_id unset-id
http_accel_surrogate_remote off
esi_parser custom
delay_pools 0
delay_initial_bucket_level 50
wccp_router ::
wccp_version 4
wccp2_rebuild_wait on
wccp2_forwarding_method gre
wccp2_return_method gre
wccp2_assignment_method hash
wccp2_service standard 0
wccp2_weight 10000
wccp_address 0.0.0.0
wccp2_address 0.0.0.0
client_persistent_connections on
server_persistent_connections on
persistent_connection_after_error on
detect_broken_pconn off
digest_generation on
digest_bits_per_entry 5
digest_rebuild_period 3600 seconds
digest_rewrite_period 3600 seconds
digest_swapout_chunk_size 4096 bytes
digest_rebuild_chunk_percentage 10
snmp_port 0
snmp_access Deny all
snmp_incoming_address ::
snmp_outgoing_address ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
icp_port 3130
htcp_port 0
log_icp_queries on
udp_incoming_address ::
udp_outgoing_address ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
icp_hit_stale off
minimum_direct_hops 4
minimum_direct_rtt 400
netdb_low 900
netdb_high 1000
netdb_ping_period 300 seconds
query_icmp off
test_reachability off
icp_query_timeout 0
maximum_icp_query_timeout 2000
minimum_icp_query_timeout 5
background_ping_rate 10 seconds
mcast_icp_query_timeout 2000
icon_directory /usr/share/squid/icons
global_internal_static on
short_icon_urls on
error_log_languages on
err_page_stylesheet /etc/squid/errorpage.css
err_html_text
email_err_data on
nonhierarchical_direct on
prefer_direct off
always_direct Deny localnet
incoming_icp_average 6
incoming_http_average 4
incoming_dns_average 4
min_icp_poll_cnt 8
min_dns_poll_cnt 8
min_http_poll_cnt 8
client_ip_max_connections -1
tcp_recv_bufsize 0 bytes
icap_enable off
icap_connect_timeout 0 seconds
icap_io_timeout 0 seconds
icap_service_failure_limit 10
icap_service_revival_delay 180
icap_preview_enable on
icap_preview_size -1
icap_default_options_ttl 60
icap_persistent_connections on
icap_send_client_ip off
icap_send_client_username off
icap_client_username_header X-Client-Username
icap_client_username_encode off
adaptation_service_iteration_limit 16
icap_retry Deny all
icap_retry_limit 0
check_hostnames off
allow_underscore on
dns_retransmit_interval 5 seconds
dns_timeout 120 seconds
dns_defnames off
hosts_file /etc/hosts
ignore_unknown_nameservers on
dns_v4_fallback on
ipcache_size 1024
ipcache_low 90
ipcache_high 95
fqdncache_size 1024
memory_pools on
memory_pools_limit 5242880 bytes
forwarded_for on
cachemgr_passwd XXXXXXXXXX all
client_db on
refresh_all_ims off
reload_into_ims off
maximum_single_addr_tries 1
retry_on_error off
as_whois_server whois.ra.net
offline_mode off
uri_whitespace strip
balance_on_multiple_ip off
pipeline_prefetch off
high_response_time_warning 0
high_page_fault_warning 0
high_memory_warning 0 bytes
sleep_after_fork 0
windows_ipaddrchangemonitor on
max_filedescriptors 0
http10 off

--
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Sibling-A-does-not-respond-with-sibling-hit-even-though-there-is-a-refreshed-item-in-the-sibling-B-S-tp4659197.html
Sent from the Squid - Users mailing list archive at Nabble.com.
Received on Mon Mar 25 2013 - 05:55:15 MDT

This archive was generated by hypermail 2.2.0 : Mon Mar 25 2013 - 12:00:06 MDT