Re: [squid-users] Squid sporadic performance - goes OFF every 5-10 minutes

From: Tomas123 <kvepalai_at_yahoo.com>
Date: Wed, 20 May 2009 10:27:09 -0700 (PDT)

I'm attaching my configuration. Thanks in advance!

# ACCESS CONTROLS
#
-----------------------------------------------------------------------------

# TAG: acl
#Default:
# acl all src all
#Recommended minimum configuration:
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8

acl SSL_ports port 443
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 CONNECT method CONNECT

# TAG: http_access
#Default:
# http_access deny all
#Recommended minimum configuration:
# Only allow cachemgr access from localhost
http_access allow manager localhost
http_access deny manager
# Deny requests to unknown ports
http_access deny !Safe_ports
# Deny CONNECT to other than SSL ports
http_access deny CONNECT !SSL_ports
#
# We strongly recommend the following be uncommented to protect innocent
# web applications running on the proxy server who think the only
# one who can access services on "localhost" is a local user
#http_access deny to_localhost
#
# INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS

# Example rule allowing access from your local networks.
# Adapt localnet in the ACL section to list your (internal) IP networks
# from where browsing should be allowed
#http_access allow localnet
http_access allow localhost

# And finally deny all other access to this proxy
http_access deny all

# TAG: icp_access
#Default:
# icp_access deny all
#Allow ICP queries from local networks only
#icp_access allow localnet
icp_access deny all

# TAG: htcp_access
#Default:
# htcp_access deny all
#Allow HTCP queries from local networks only
#htcp_access allow localnet
htcp_access deny all

# NETWORK OPTIONS
#
-----------------------------------------------------------------------------

# TAG: http_port
# Squid normally listens to port 3128
http_port 3128

# OPTIONS WHICH AFFECT THE NEIGHBOR SELECTION ALGORITHM
#
-----------------------------------------------------------------------------

# TAG: hierarchy_stoplist
#We recommend you to use at least the following line.
hierarchy_stoplist cgi-bin ?

# DISK CACHE OPTIONS
#
-----------------------------------------------------------------------------

# TAG: cache_dir
#Default:
#cache_dir ufs /var/spool/squid3 100 16 256

# LOGFILE OPTIONS
#
-----------------------------------------------------------------------------

# TAG: access_log
access_log /var/log/squid3/access.log squid

# OPTIONS FOR URL REWRITING
#
-----------------------------------------------------------------------------

# TAG: url_rewrite_program
#Default:
# none

# TAG: url_rewrite_children
#Default:
# url_rewrite_children 5

# TAG: url_rewrite_concurrency
#Default:
# url_rewrite_concurrency 0

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

# TAG: cache
# Default is to allow all to be cached
#We recommend you to use the following two lines.
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY

# TAG: refresh_pattern
#Suggested default:
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320

# ADMINISTRATIVE PARAMETERS
#
-----------------------------------------------------------------------------

# TAG: cache_mgr
#Default:
# cache_mgr webmaster

# TAG: visible_hostname
#Default:
# visible_hostname localhost

# ICP OPTIONS
#
-----------------------------------------------------------------------------

# TAG: icp_port
#Default:
# icp_port 0
#
icp_port 3130

# DNS OPTIONS
#
-----------------------------------------------------------------------------

# TAG: dns_nameservers
#Default:
# none

# MISCELLANEOUS
#
-----------------------------------------------------------------------------

# Leave coredumps in the first cache dir
coredump_dir /var/spool/squid3

-- 
View this message in context: http://www.nabble.com/Squid-sporadic-performance---goes-OFF-every-5-10-minutes-tp23639820p23639948.html
Sent from the Squid - Users mailing list archive at Nabble.com.
Received on Wed May 20 2009 - 17:27:11 MDT

This archive was generated by hypermail 2.2.0 : Thu May 21 2009 - 12:00:01 MDT