Search squid archive

RE: [squid-users] Trying to Understand store.log

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

 



Il giorno mer, 09-03-2005 alle 14:37 +0100, Henrik Nordstrom ha scritto:
> On Wed, 9 Mar 2005, Marco Crucianelli wrote:
> 
> > Il giorno mer, 09-03-2005 alle 13:32 +0100, Elsen Marc ha scritto:
> >>> ...
> >>> Thanks, this was really useful! Doing some check I saw that several
> >>> images that could be cached were not cached at all, according to
> >>> store.log!!!!
> >>> I don't understand why...
> >>>
> >>
> >>   - how was this verified (not cached) ?
> >
> > I got a RELEASE in store.log!
> >
> >>   - include specific url-examples
> >
> > 1110371647.268 RELEASE -1 FFFFFFFF 5D2B437AF445AE5F7C3C583D024CC313  200
> > 1110371646 1074728556        -1 image/jpeg 34284/34284 GET
> > http://www.claracavalcanti.com/galleria/06g.jpg
> 
> I get
> 
> 1110375283.739 SWAPOUT 00 00000002 D6077B8F11CE8628CD37A122046D5CCB  200 
> 1110375331 1074728556        -1 image/jpeg 34284/34284 GET 
> http://www.claracavalcanti.com/galleria/06g.jpg
> 
> with the default refresh_pattern settings.
> 
> I would suggest you to try with a standard Squid not modifified for push, 
> and a more up to date version just in case.
> 
> Regards
> Henrik

Maybe it was my fault in configuring squid!?!?

I've attached my squid.conf

Is there anything wrong in it?!?!

TIA

Marco

PS: I DO NEED to use a push-supporting version of squid!!! :(((
#########################################
#		BINDING			#
#########################################

http_port 10.50.5.80:3128


icp_port 3130


#########################################
#		CACHE_PEER		#
#########################################



hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY


#########################################
#	CACHE_MEMORY_MANAGEMENT		#
#########################################

cache_mem 20 MB


cache_swap_low 90
cache_swap_high 95


maximum_object_size 4096 KB
minimum_object_size 0 KB


maximum_object_size_in_memory 100 KB


cache_replacement_policy lru
memory_replacement_policy lru


cache_dir ufs /usr/local/squid/var/cache 100 16 256


#########################################
#	LOGS_MANAGEMENT			#
#########################################

cache_access_log /usr/local/squid/var/logs/access.log


cache_log /usr/local/squid/var/logs/cache.log


cache_store_log /usr/local/squid/var/logs/store.log


log_ip_on_direct on


#########################################
#	OPTIONS FOR TUNING THE CACHE	#
#########################################

refresh_pattern ^ftp:		1440	20%	10080
refresh_pattern ^gopher:	1440	0%	1440
refresh_pattern .		0	20%	3420


#########################################
#       FTP_STUFF                       #
#########################################

ftp_user anonymous@xxxxxxxxxxxxxxx

ftp_list_width 128

ftp_passive on

ftp_sanitycheck on

ftp_telnet_protocol off


#########################################
#		ACL			#
#########################################

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 563
acl SSL_ports port 873		# rsync
acl Safe_ports port 80		# http
acl Safe_ports port 21		# ftp
acl Safe_ports port 443 563	# https, snews
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 CONNECT method CONNECT
acl PURGE method PURGE

http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports

http_access allow all

http_reply_access allow all

icp_access allow all

store_avg_object_size 13 KB


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

  Powered by Linux