[squid-users] high latency satellite link - downloads slow/cease, broken links

From: Sean <sean.barmettler@dont-contact.us>
Date: Mon, 27 Nov 2006 13:15:45 -0900

before i get started, do note that bypassing the proxy, everything is fine.

Ive used squid without a hitch for years now, but never on a
satellite. On sites with a lot of links or images (news sites,
hardware reviews, p*rn, hell any modern site) it will break a LOT of
the links to pictures/background images/etc. Basically after a week
of trying every directive ive ever used and then some, i cant make it
any better. putting the dns_servers 127.0.0.1 helped in a way: it
made the sites begin to load faster, but the broken links were still
there. I basically got nowhere faster with that one. nothing else
ive tried seems to phase it. im not sure if there's any OS tweaks
that should be done at this point or if im SOL.

ANY help/person with experience with this would be greatly
appreciated. we're a lowly cold (and remote!) little air force base
that needs all we can get in our barracks!

CONFIG:

visible_hostname callyroll

ie_refresh on
pipeline_prefetch on
dns_nameservers 127.0.0.1 148.78.249.200 148.78.249.201

cache_peer 10.0.2.2 parent 8118 7 no-query default

http_port 10.0.2.2:3128

acl localnet src 10.0.2.0/255.255.255.0

debug_options ALL,1

cache_mem 256 MB
maximum_object_size_in_memory 512KB

cache_replacement_policy heap LFUDA # played with LRU too, this is
just the last one i was benchmarking
memory_replacement_policy heap GDSF

half_closed_clients off

cache_swap_high 95%
cache_swap_low 90%

shutdown_lifetime 3 seconds
icp_port 0

acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY

cache_effective_user proxy
cache_effective_group proxy

pid_filename /var/run/squid.pid

cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log none
#error_directory /var/log/squid/errors.log
#error_map http://www.planalytics.com/zaps/404.html 404

emulate_httpd_log off
log_mime_hdrs off

forwarded_for on

acl all src 0.0.0.0/0.0.0.0
acl localhost src 127.0.0.1/255.255.255.255

acl SSL_ports port 445 443 441 563
acl Safe_ports port 80 # http
acl Safe_ports port 81 # smoothwall http
acl Safe_ports port 21 # ftp
acl Safe_ports port 445 443 441 563 # https, snews
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl CONNECT method CONNECT

http_access allow localhost
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localnet
http_access deny all

maximum_object_size 128000 KB # this may be stupid, i dont know..
trying to keep as much of this in the cache as we can considering our
limitations
minimum_object_size 0 KB

cache_dir diskd /var/spool/squid 4000 16 256

request_body_max_size 0 KB
reply_body_max_size 0 allow all

httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
Received on Mon Nov 27 2006 - 15:15:49 MST

This archive was generated by hypermail pre-2.1.9 : Fri Dec 01 2006 - 12:00:03 MST