[squid-users] Should access internet through 3 parents with wingates, and never_direct

From: Walid Nehme <walidn@dont-contact.us>
Date: Tue, 23 Jul 2002 00:03:04 -0700 (PDT)

Dear sirs.
i have 3 pc with download
satellites. satellite cards works only on windows that is
why i cannot use squid there. i'm using wingate without
caching.
 after these 3 pcs ,1 with squid on linux so that it will
take
from the 3 servers with download satellite, cache and give
my clients. squid is configure to never direct requests.
but whenever one of the servers loose
connection or went down or delayed for a 1 min or
something. Squid became very very slow, and nothing helps
until i remove the cache_peer from the conf file for the
ill pc will download sate. , and restarts it.
in cache.log it says that, tcp connection to 10.20.38.6/80
failed (one of my servers with satellite)
after repeating 2 min it says Detected Dead parent:
10.20.38.6/80/7 ) and during these messsages and after that
squid works very slow until i restart it
any suggestions with that.
Thank you.
 
squid.conf
_____________________________________________________
http_port 10.20.40.7:80
http_port 10.20.50.7:80
http_port 10.20.100.7:80

cache_peer 10.20.38.4 parent 80 7 no-query no-digest
no-netdb-exchange round-robin
cache_peer 10.20.38.5 parent 80 7 no-query no-digest
no-netdb-exchange round-robin
cache_peer 10.20.38.6 parent 80 7 no-query no-digest
no-netdb-exchange round-robin

hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
 cache_mem 50 MB
 cache_swap_low 90
 cache_swap_high 95
 maximum_object_size 10240 KB
 maximum_object_size_in_memory 1024 KB
 cache_dir ufs /usr/local/squid/cache 3900 16 256
 quick_abort_min 0 KB
 quick_abort_max 0 KB
 quick_abort_pct 100
 shutdown_lifetime 5 seconds

client_netmask 255.255.255.255
acl all src 0.0.0.0/0.0.0.0
acl iplist40 src 10.20.40.0/255.255.255.0
acl iplist50 src 10.20.50.0/255.255.255.0
acl iplist100 src 10.20.100.0/255.255.255.0
acl nimda urlpath_regex -i \.eml$
acl movie url_regex -i \.avi$ \.mov$ \.mp3$ \.mpeg$ \.mpg$
\.rm$ \.ram$
acl busy_hours time 16:00-22:00
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl SSL_ports port 443 563
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 CONNECT method CONNECT

http_access deny nimda
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny busy_hours movie
http_access allow iplist40
http_access allow iplist50
http_access allow iplist100
http_access allow localhost
http_access allow all
never_direct allow all

#icp_access allow all
#miss_access allow local
#miss_access deny all
#always_direct allow mimetype-text
#always_direct allow mimetype-images
visible_hostname proxy.alfa-cable.com
logfile_rotate 10
#To disable access.log:
#cache_access_log /dev/null
#To disable store.log:
#cache_store_log none
#It is a bad idea to disable the cache.log because this
file contains many important status and debugging messages.
However,
#cache_log /dev/null
 cache_mgr awad54@hotmail.com
# cache_effective_user squid
# cache_effective_group squid
 ftp_user Squid@proxy.alfa-cable.com

=====
Regards.
Walid Nehme
ICQ:5855336
MSN:nastylid@hotmail.com
"The only reason I'm burning my candle at both ends, is because I haven't figured out how to light the middle yet"

__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com
Received on Tue Jul 23 2002 - 01:03:05 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:09:19 MST