[squid-users] slow downloads

From: Pons, Eric <PonsE@dont-contact.us>
Date: Thu, 4 Oct 2001 10:06:56 -0500

I have implemented squid-2.4 stable 1 on a Slackware Linux box with kernel 2.2.18
I setup squid and redirected port 80 through 8080 and it caches webpages pages fine. The only problem is that anytime anyone tries to download something from a web server the download will immediately fall to about 200 bytes a second (on a DSL line) and then just stop completely. FTP transfers work just fine. It seems to be only downloads when downloading from a web server. Any help would be greatly appreciated. Thank you for your time.
Here is my squid.conf per the CGI admin program if that helps.

http_port 0.0.0.0:8080
icp_port 0
tcp_outgoing_address 255.255.255.255
udp_incoming_address 0.0.0.0
udp_outgoing_address 255.255.255.255
icp_query_timeout 0
maximum_icp_query_timeout 2000
mcast_icp_query_timeout 2000
dead_peer_timeout 10 seconds
hierarchy_stoplist cgi-bin
hierarchy_stoplist ?
no_cache Deny QUERY
no_cache Deny fsipro
no_cache Deny netvest
no_cache Deny paperwork
no_cache Deny fiscentral
no_cache Deny fisonline
no_cache Deny fsiemployee
no_cache Deny fisemployee
no_cache Deny selectinvesting
no_cache Deny selecttrade
no_cache Deny selecttradecc
no_cache Deny investorservices
no_cache Deny onlineimpactmarketing
no_cache Deny directaccess
no_cache Deny 4trades
no_cache Deny reportregisteredsite
cache_mem 891289600 bytes
cache_swap_low 90
cache_swap_high 95
maximum_object_size 1327104 bytes
minimum_object_size 0 bytes
maximum_object_size_in_memory 65536 bytes
ipcache_size 100000
ipcache_low 90
ipcache_high 95
fqdncache_size 1024
cache_replacement_policy lru
memory_replacement_policy lru
cache_dir ufs /squid_cache 2000 16 256
cache_access_log /usr/local/squid/logs/access.log
cache_log /usr/local/squid/logs/cache.log
cache_store_log /usr/local/squid/logs/store.log
emulate_httpd_log off
log_ip_on_direct on
mime_table /usr/local/squid/etc/mime.conf
log_mime_hdrs off
pid_filename /usr/local/squid/logs/squid.pid
debug_options ALL,1
log_fqdn off
client_netmask 255.255.255.0
ftp_user Squid@
ftp_list_width 32
ftp_passive on
dns_retransmit_interval 5 seconds
dns_timeout 300 seconds
unlinkd_program /usr/local/squid/libexec/squid/unlinkd
redirect_children 5
redirect_rewrites_host_header on
authenticate_children 5
authenticate_ttl 3600 seconds
authenticate_ip_ttl 0 seconds
authenticate_ip_ttl_is_strict on
wais_relay_port 0
request_header_max_size 10240 bytes
request_body_max_size 3145728 bytes
reply_body_max_size 0 bytes
refresh_pattern ^ftp: 1440 20% 10080

refresh_pattern ^gopher: 1440 0% 1440

refresh_pattern . 0 20% 4320

refresh_pattern ^ftp: 1440 20% 10080

refresh_pattern ^gopher: 1440 0% 1440

refresh_pattern . 0 20% 4320

reference_age 604800 seconds
quick_abort_min 16 KB
quick_abort_max 32 KB
quick_abort_pct 85
negative_ttl 300 seconds
positive_dns_ttl 21600 seconds
negative_dns_ttl 60 seconds
range_offset_limit 0 bytes
connect_timeout 120 seconds
peer_connect_timeout 30 seconds
siteselect_timeout 4 seconds
read_timeout 900 seconds
request_timeout 120 seconds
client_lifetime 86400 seconds
half_closed_clients on
pconn_timeout 120 seconds
ident_timeout 10 seconds
shutdown_lifetime 120 seconds
acl QUERY urlpath_regex cgi-bin
acl QUERY urlpath_regex \?
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1
acl fsipro dstdomain .fsiprofessional.com
acl netvest dstdomain .netvest.com
acl paperwork dstdomain .paperwork.net
acl fiscentral dstdomain .fiscentral.com
acl fisonline dstdomain .fisonline.net
acl fsiemployee dstdomain .fsiemployee.com
acl fisemployee dstdomain .fisemployee.com
acl selectinvesting dstdomain .selectinvesting.com
acl selecttrade dstdomain .selecttrade.com
acl selecttradecc dstdomain .selecttrade.cc
acl investorservices dstdomain .investorservices.cc
acl onlineimpactmarketing dstdomain .onlineimpactmarketing.com
acl directaccess dstdomain .directaccess.cc
acl 4trades dstdomain .4trades.com
acl reportregisteredsite dstdomain .report.registeredsite.com
acl SSL_ports port 443
acl SSL_ports port 563
acl Safe_ports port 80
acl Safe_ports port 0
acl Safe_ports port 0
acl Safe_ports port 21
acl Safe_ports port 0
acl Safe_ports port 0
acl Safe_ports port 443
acl Safe_ports port 563
acl Safe_ports port 0
acl Safe_ports port 0
acl Safe_ports port 0
acl Safe_ports port 70
acl Safe_ports port 0
acl Safe_ports port 0
acl Safe_ports port 210
acl Safe_ports port 0
acl Safe_ports port 0
acl Safe_ports port 1025-65535
acl Safe_ports port 0
acl Safe_ports port 0
acl Safe_ports port 0
acl Safe_ports port 280
acl Safe_ports port 0
acl Safe_ports port 0
acl Safe_ports port 488
acl Safe_ports port 0
acl Safe_ports port 0
acl Safe_ports port 591
acl Safe_ports port 0
acl Safe_ports port 0
acl Safe_ports port 777
acl Safe_ports port 0
acl Safe_ports port 0
acl Safe_ports port 0
acl CONNECT method CONNECT
http_access Allow manager localhost
http_access Deny manager
http_access Deny !Safe_ports
http_access Deny CONNECT !SSL_ports
http_access Allow all
icp_access Allow all
proxy_auth_realm Squid proxy-caching web server
ident_lookup_access Deny all
cache_mgr PonsE@InvestorServices.net
cache_effective_user epons
cache_effective_group users
announce_period 31536000 seconds
announce_host tracker.ircache.net
announce_port 3131
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_single_host off
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
dns_testnames netscape.com
dns_testnames internic.net
dns_testnames nlanr.net
dns_testnames microsoft.com
logfile_rotate 10
tcp_recv_bufsize 0 bytes
err_html_text
memory_pools off
memory_pools_limit 0 bytes
forwarded_for on
log_icp_queries on
icp_hit_stale off
minimum_direct_hops 4
minimum_direct_rtt 400
cachemgr_passwd XXXXXXXXXX all
store_avg_object_size 13 KB
store_objects_per_bucket 20
client_db on
netdb_low 900
netdb_high 1000
netdb_ping_period 300 seconds
query_icmp off
test_reachability off
buffered_logs off
reload_into_ims off
icon_directory /usr/local/squid/etc/icons
error_directory /usr/local/squid/etc/errors
minimum_retry_timeout 5 seconds
maximum_single_addr_tries 3
as_whois_server whois.ra.net
wccp_router 0.0.0.0
wccp_version 4
wccp_incoming_address 0.0.0.0
wccp_outgoing_address 255.255.255.255
incoming_icp_average 6
incoming_http_average 4
incoming_dns_average 4
min_icp_poll_cnt 8
min_dns_poll_cnt 8
min_http_poll_cnt 8
max_open_disk_fds 0
offline_mode off
uri_whitespace strip
nonhierarchical_direct on
prefer_direct off
strip_query_terms on
redirector_bypass off
ignore_unknown_nameservers on
client_persistent_connections on
server_persistent_connections on
pipeline_prefetch on
high_response_time_warning 0
high_page_fault_warning 0
high_memory_warning 0 bytes
store_dir_select_algorithm least-load
ie_refresh off
Received on Thu Oct 04 2001 - 09:10:34 MDT

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