[squid-users] slave proxy problems - squid 2.5

From: Wojciech Puchar <wojtek@dont-contact.us>
Date: Fri, 4 Nov 2005 12:50:54 +0100 (CET)

i'm using squid proxy for a long time. no problems until today.

on one machine that's connected with quite slow link to main machine that's
responsible for internet access including WWW caching, i installed slave squid
proxy server with such config

cache_peer w3cache.3miasto.net parent 3128 0 no-query default
acl all src 0.0.0.0/0.0.0.0
http_port 10.255.245.1:3128
icp_port 0
dead_peer_timeout 10 seconds
cache_mgr admin@3miasto.net
snmp_port 0
cache_mem 1 MB
cache_swap_low 98
cache_swap_high 100
maximum_object_size 100000 KB
ipcache_size 512
ipcache_low 90
ipcache_high 95
fqdncache_size 512
buffered_logs off
cache_dir diskd /var/spool/squid 1000 1 256
#cache_access_log /var/log/w3cache
cache_access_log /dev/null
#cache_log /var/log/cache
#cache_store_log /var/log/w3store
cache_store_log none
logfile_rotate 0
debug_options ALL,1
refresh_pattern ^ftp: 1440 50% 525600 reload-into-ims
refresh_pattern ^gopher: 1440 0% 1440 reload-into-ims
refresh_pattern . 0 50% 86400 reload-into-ims
quick_abort_min 0 KB
quick_abort_max 0 KB
quick_abort_pct 0
negative_ttl 1 minute
connect_timeout 15 seconds
read_timeout 5 minutes
request_timeout 30 seconds
client_lifetime 2 hour
half_closed_clients off
pconn_timeout 120 seconds
ident_timeout 10 seconds
shutdown_lifetime 15 seconds
acl manager proto cache_object
acl local src 127.0.0.1/32 10.0.0.0/8
acl localhost src 127.0.0.1/32
acl locald dst 127.0.0.1/32 10.0.0.0/8 213.192.74.0/24 153.19.176.0/29
acl SSL_ports port 443 563
acl CONNECT method CONNECT
acl virus urlpath_regex default\.ida\?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
no_cache deny locald
always_direct allow locald
http_access deny manager
http_access deny virus
http_access deny CONNECT !SSL_ports
#http_access deny CONNECT all
http_access allow local
#icp_access allow local
#icp_access deny all
ident_lookup_access deny all
cache_effective_user proxy
cache_effective_group daemon
dns_testnames localhost
#dns_children 32
log_fqdn on
forwarded_for on
store_avg_object_size 20 KB
reload_into_ims on
max_open_disk_fds 2000
uri_whitespace encode
#request_header_max_size 100 KB
prefer_direct off
memory_pools on
#visible_hostname w3cache.3miasto.net

most setting are copied from parent proxy settings that works OK.

this MOSTLY works OK but on many pages that uses some kind of forms (like
search etc.) it waits for a long time and then says "connection timed out".

example:

ERROR
The requested URL could not be retrieved

While trying to retrieve the URL: http://rozklad.pkp.pl/bin/query.exe/pn?

The following error was encountered:

     * Connection Failed

The system returned:

     (60) Connection timed out

The remote host or network may be down. Please try the request again.

Your cache administrator is admin@3miasto.net.
Generated Fri, 04 Nov 2005 11:34:07 GMT by chylonia.dom (squid/2.5.STABLE10)

when i temporary switch browser to directly use parent proxy, everything works.

please help!

                                         thank You
Received on Fri Nov 04 2005 - 04:51:01 MST

This archive was generated by hypermail pre-2.1.9 : Thu Dec 01 2005 - 12:00:09 MST