Re: ! SQUID3-PRE2 ! - Something Wrong

This is a discussion on Re: ! SQUID3-PRE2 ! - Something Wrong within the Squid Users forums, part of the Web Server and Related Forums category; i'm not sure if this is specifically what you are looking for as an answer but try turning "...


Go Back   Usenet Forums > Web Server and Related Forums > Squid Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-31-2003
Matt Pearce
 
Posts: n/a
Default Re: ! SQUID3-PRE2 ! - Something Wrong

i'm not sure if this is specifically what you are looking for as an answer
but try turning "reload_into_ims" to on instead of off. I know that it
technically breaks HTTP but i'm yet to get a stale web page or have any
problems with it, as a matter of fact I seem to get a hit rate on the cache
now of 60-70% instead of about 5%, so I consider it a huge improvement,
although I am sure results will vary case to case.

Matt.


"Yuri Fominov" <yurif@risk.az> wrote in message
news:13de40eb.0307301027.38674f99@posting.google.c om...
> Hi,
>
> I'm observing very strange things after i have migrated from
> 2.5-STABLE3 to 3-PRE2. I can't see any HIT's in my log, instead of
> seeing TCP_HIT messages, I see TCP_CLIENT_REFRESH_MISS/200. I can'
> understand such behavior.
>
> Please help!
>
> My config details:
> ---------------------------------------------------------------
>
> debug_options ALL,1 #80,9 ##22,3
>
> http_port 127.0.0.1:3128 transparent
> http_port 127.0.0.2:3128 transparent
> http_port A.B.C.D:3128 transparent
>
> icp_port 3130
>
> ### WCCP

################################################## ###################
>
> wccp_router A.B.C.D1
> wccp_version 4
>
> ### ALL ACCESS LISTS
> ################################################## #######
>
> acl SSL proto SSL
> acl POST method POST
> acl CONNECT method CONNECT
> acl QUERY urlpath_regex cgi-bin \?
> acl RISK src 62.212.231.0/24
> acl safeports port 80,666
> acl allports port 1-65535
>
> acl all src 0.0.0.0/0.0.0.0
> acl all_dst dst 0.0.0.0/0.0.0.0
> acl localhost src 127.0.0.1/255.255.255.255
>
> no_cache deny QUERY
> always_direct allow POST
>
> http_access allow RISK allports
> http_access deny all !safeports
> icp_access allow all
> miss_access allow all
> http_access allow all
>
> acl snmppublic snmp_community public
> snmp_access allow snmppublic localhost
> snmp_access deny all
>
> ### Header Replaces
> ################################################## #######
>
> header_access Via deny all
> header_replace Via something
>
> ### CACHE SIZE OPTONS
> ################################################## ######
>
> memory_pools off
> cache_mem 512 MB
> cache_swap_low 85
> cache_swap_high 90
> maximum_object_size 5120 KB
> maximum_object_size_in_memory 16 KB
> ipcache_size 10240
> ipcache_low 75
> ipcache_high 80
> fqdncache_size 10240
>
> read_ahead_gap 16 KB
> pipeline_prefetch off
>
> store_avg_object_size 16 KB
> store_objects_per_bucket 20
>
>
> ### LOG FILES & CACHE DIRECTORIES
> ############################################
>
> #store_dir_select_algorithm round-robin
> cache_dir aufs /cache1 30000 50 256
> cache_dir aufs /cache2 30000 50 256
> #cache_dir aufs /cache3 30000 50 256
>
> error_directory /squid3/data/errors/lazyfox
> cache_access_log /squid3/state/logs/access.log
> cache_log /squid3/state/logs/cache.log
> cache_store_log none
> mime_table /squid3/conf/mime.conf
> pid_filename /squid3/state/squid.pid
> coredump_dir /squid3/state
>
> buffered_logs off
> emulate_httpd_log off
> log_mime_hdrs off
> log_fqdn off
> client_netmask 255.255.255.255
>
> ### CACHE TUNING

################################################## ##########
> reload_into_ims off
>
> refresh_pattern /$ 1440 100% 7200
>
> refresh_pattern -i \.gif$ 4320 250% 10800
> refresh_pattern -i \.jpg$ 4320 250% 10800
> refresh_pattern -i \.jpeg$ 4320 250% 10800
> refresh_pattern -i \.png$ 4320 250% 10800
>
> refresh_pattern -i \.html$ 2880 250% 7200
> refresh_pattern -i \.htm$ 2880 250% 7200
> refresh_pattern -i \.shtml$ 2880 250% 7200
> refresh_pattern -i \.php$ 2880 250% 7200
>
> refresh_pattern . 0 20% 7200
>
>
> ### TIMEOUTS

################################################## ###############
>
> connect_timeout 30 seconds
> read_timeout 2 minutes
> request_timeout 30 seconds
> client_lifetime 6 hours
> persistent_request_timeout 30 seconds
> pconn_timeout 90 seconds
> shutdown_lifetime 3 seconds
>
> quick_abort_min 4 KB
> quick_abort_max 4 KB
> quick_abort_pct 95
> negative_ttl 2 seconds
> positive_dns_ttl 12 hours
> negative_dns_ttl 2 seconds
> maximum_single_addr_tries 9
>
> ### Warnings ### ### ### ### ### ### ### ###
>
> high_response_time_warning 5000 #msec
> high_page_fault_warning 2 #faults/sec
> high_memory_warning 1200 MB
>
>
> ### ADMINISTRATION

################################################## #########
>
> cache_mgr admin@host.com
> visible_hostname none
> #append_domain none
> cachemgr_passwd disabled all
> cache_effective_user nobody
> cache_effective_group nobody
>
>
> ### MISCELANEOUS

################################################## ###########
>
> logfile_rotate 7
> tcp_recv_bufsize 0 bytes
>
> forwarded_for on
> via on
>
> client_db off
> query_icmp off
>
> half_closed_clients on
> client_persistent_connections on
> server_persistent_connections on
>
> icp_hit_stale off
> test_reachability off
>
>
> ### EXTRANAL OPTIONS/PROGRAMS/METHODS SUPPORT
> ###############################
>
> ftp_user ftpuser@ftpuser.com
> ftp_list_width 64
> extension_methods GHETTO FLAPON SEARCH PROPFIND PROPPATCH MKCOL MOVE
> BMOVE DELETE BDELETE



Reply With Quote
  #2 (permalink)  
Old 07-31-2003
Yuri Fominov
 
Posts: n/a
Default Re: ! SQUID3-PRE2 ! - Something Wrong

I have already did many tries changing "reload_into_ims" and
"refresh_patterns", but still, i'm getting same result -
TCP_CLIENT_REFRESH_MISS/200

Looks like some kind of Voodoo :))



"Matt Pearce" <mattpearce@BUGGEROFFWITHTHESPAMoptusnet.com.au> wrote in message news:<3f288544$0$26530$afc38c87@news.optusnet.com. au>...
> i'm not sure if this is specifically what you are looking for as an answer
> but try turning "reload_into_ims" to on instead of off. I know that it
> technically breaks HTTP but i'm yet to get a stale web page or have any
> problems with it, as a matter of fact I seem to get a hit rate on the cache
> now of 60-70% instead of about 5%, so I consider it a huge improvement,
> although I am sure results will vary case to case.
>
> Matt.
>
>
> "Yuri Fominov" <yurif@risk.az> wrote in message
> news:13de40eb.0307301027.38674f99@posting.google.c om...
> > Hi,
> >
> > I'm observing very strange things after i have migrated from
> > 2.5-STABLE3 to 3-PRE2. I can't see any HIT's in my log, instead of
> > seeing TCP_HIT messages, I see TCP_CLIENT_REFRESH_MISS/200. I can'
> > understand such behavior.
> >
> > Please help!
> >
> > My config details:
> > ---------------------------------------------------------------
> >
> > debug_options ALL,1 #80,9 ##22,3
> >
> > http_port 127.0.0.1:3128 transparent
> > http_port 127.0.0.2:3128 transparent
> > http_port A.B.C.D:3128 transparent
> >
> > icp_port 3130
> >
> > ### WCCP

> ################################################## ###################
> >
> > wccp_router A.B.C.D1
> > wccp_version 4
> >
> > ### ALL ACCESS LISTS
> > ################################################## #######
> >
> > acl SSL proto SSL
> > acl POST method POST
> > acl CONNECT method CONNECT
> > acl QUERY urlpath_regex cgi-bin \?
> > acl RISK src 62.212.231.0/24
> > acl safeports port 80,666
> > acl allports port 1-65535
> >
> > acl all src 0.0.0.0/0.0.0.0
> > acl all_dst dst 0.0.0.0/0.0.0.0
> > acl localhost src 127.0.0.1/255.255.255.255
> >
> > no_cache deny QUERY
> > always_direct allow POST
> >
> > http_access allow RISK allports
> > http_access deny all !safeports
> > icp_access allow all
> > miss_access allow all
> > http_access allow all
> >
> > acl snmppublic snmp_community public
> > snmp_access allow snmppublic localhost
> > snmp_access deny all
> >
> > ### Header Replaces
> > ################################################## #######
> >
> > header_access Via deny all
> > header_replace Via something
> >
> > ### CACHE SIZE OPTONS
> > ################################################## ######
> >
> > memory_pools off
> > cache_mem 512 MB
> > cache_swap_low 85
> > cache_swap_high 90
> > maximum_object_size 5120 KB
> > maximum_object_size_in_memory 16 KB
> > ipcache_size 10240
> > ipcache_low 75
> > ipcache_high 80
> > fqdncache_size 10240
> >
> > read_ahead_gap 16 KB
> > pipeline_prefetch off
> >
> > store_avg_object_size 16 KB
> > store_objects_per_bucket 20
> >
> >
> > ### LOG FILES & CACHE DIRECTORIES
> > ############################################
> >
> > #store_dir_select_algorithm round-robin
> > cache_dir aufs /cache1 30000 50 256
> > cache_dir aufs /cache2 30000 50 256
> > #cache_dir aufs /cache3 30000 50 256
> >
> > error_directory /squid3/data/errors/lazyfox
> > cache_access_log /squid3/state/logs/access.log
> > cache_log /squid3/state/logs/cache.log
> > cache_store_log none
> > mime_table /squid3/conf/mime.conf
> > pid_filename /squid3/state/squid.pid
> > coredump_dir /squid3/state
> >
> > buffered_logs off
> > emulate_httpd_log off
> > log_mime_hdrs off
> > log_fqdn off
> > client_netmask 255.255.255.255
> >
> > ### CACHE TUNING

> ################################################## ##########
> > reload_into_ims off
> >
> > refresh_pattern /$ 1440 100% 7200
> >
> > refresh_pattern -i \.gif$ 4320 250% 10800
> > refresh_pattern -i \.jpg$ 4320 250% 10800
> > refresh_pattern -i \.jpeg$ 4320 250% 10800
> > refresh_pattern -i \.png$ 4320 250% 10800
> >
> > refresh_pattern -i \.html$ 2880 250% 7200
> > refresh_pattern -i \.htm$ 2880 250% 7200
> > refresh_pattern -i \.shtml$ 2880 250% 7200
> > refresh_pattern -i \.php$ 2880 250% 7200
> >
> > refresh_pattern . 0 20% 7200
> >
> >
> > ### TIMEOUTS

> ################################################## ###############
> >
> > connect_timeout 30 seconds
> > read_timeout 2 minutes
> > request_timeout 30 seconds
> > client_lifetime 6 hours
> > persistent_request_timeout 30 seconds
> > pconn_timeout 90 seconds
> > shutdown_lifetime 3 seconds
> >
> > quick_abort_min 4 KB
> > quick_abort_max 4 KB
> > quick_abort_pct 95
> > negative_ttl 2 seconds
> > positive_dns_ttl 12 hours
> > negative_dns_ttl 2 seconds
> > maximum_single_addr_tries 9
> >
> > ### Warnings ### ### ### ### ### ### ### ###
> >
> > high_response_time_warning 5000 #msec
> > high_page_fault_warning 2 #faults/sec
> > high_memory_warning 1200 MB
> >
> >
> > ### ADMINISTRATION

> ################################################## #########
> >
> > cache_mgr admin@host.com
> > visible_hostname none
> > #append_domain none
> > cachemgr_passwd disabled all
> > cache_effective_user nobody
> > cache_effective_group nobody
> >
> >
> > ### MISCELANEOUS

> ################################################## ###########
> >
> > logfile_rotate 7
> > tcp_recv_bufsize 0 bytes
> >
> > forwarded_for on
> > via on
> >
> > client_db off
> > query_icmp off
> >
> > half_closed_clients on
> > client_persistent_connections on
> > server_persistent_connections on
> >
> > icp_hit_stale off
> > test_reachability off
> >
> >
> > ### EXTRANAL OPTIONS/PROGRAMS/METHODS SUPPORT
> > ###############################
> >
> > ftp_user ftpuser@ftpuser.com
> > ftp_list_width 64
> > extension_methods GHETTO FLAPON SEARCH PROPFIND PROPPATCH MKCOL MOVE
> > BMOVE DELETE BDELETE

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:55 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0