[squid-users] time based range_offset_limit

Heiler Bemerguy heiler.bemerguy at cinbesa.com.br
Tue Jul 12 18:24:47 UTC 2016


Hello Joe, I've tried doing that but it seems collapsed_forwarding won't 
work for windows updates for some reason.. it's really annoying.

Look the number of simultaneos connections to the SAME ip... this 
shouldn't happen, right?

root at proxy:~# netstat -n |grep 201.30.251.27 |grep ESTAB
tcp   243802      0 10.1.10.9:27788 201.30.251.27:80        ESTABELECIDA
tcp        0      0 10.1.10.9:15343 201.30.251.27:80        ESTABELECIDA
tcp    14480      0 10.1.10.9:32548 201.30.251.27:80        ESTABELECIDA
tcp        0      0 10.1.10.9:25426 201.30.251.27:80        ESTABELECIDA
tcp    48322      0 10.1.10.9:8560 201.30.251.27:80        ESTABELECIDA
tcp   329234      0 10.1.10.9:54205 201.30.251.27:80        ESTABELECIDA
tcp        0      0 10.1.10.9:1656 201.30.251.27:80        ESTABELECIDA
tcp      993      0 10.1.10.9:50820 201.30.251.27:80        ESTABELECIDA
tcp   330227      0 10.1.10.9:56519 201.30.251.27:80        ESTABELECIDA


Look my conf:

acl fullDLext urlpath_regex -i 
\.(exe|ms(i|u|p)|deb|cab|rpm|bin|zip|ax|r(a|p)m|app|pkg|mar|nzp|dat|iop|xpi|dmg|dds|thor|nar|gpf|pdf|appx|appxbundle|esd)
acl fullDLurl url_regex -i \.microsoft\.com\/filestreamingservice

quick_abort_min 0 KB
quick_abort_max 0 KB
quick_abort_pct 100

range_offset_limit -1 fullDLext
range_offset_limit -1 fullDLurl

refresh_pattern -i 
(microsoft|windowsupdate)\.com.*\.(cab|exe|ms[i|u|f]|dat|zip|[ap]sf|appx|appxbundle|esd) 
483840 100% 483840 override-expire ignore-reload ignore-must-revalidate 
ignore-private ignore-no-store store-stale
refresh_pattern -i \.microsoft.com\/filestreamingservice 483840 80% 
483840 override-expire ignore-private ignore-no-store ignore-reload 
ignore-must-revalidate store-stale

reload_into_ims on

connect_retries 3

client_idle_pconn_timeout 30 seconds

client_persistent_connections on
server_persistent_connections on
pipeline_prefetch 10

collapsed_forwarding on
detect_broken_pconn on
negative_ttl 30 seconds
negative_dns_ttl 2 minutes
incoming_dns_average 8
incoming_tcp_average 16

connect_timeout 60 seconds
request_timeout 60 seconds
read_timeout 60 seconds


-- 
Best Regards,

Heiler Bemerguy
Network Manager - CINBESA
55 91 98151-4894/3184-1751


Em 12/07/2016 13:47, joe escreveu:
>> acl download_until_end_by_ip dst 13.107.4.50
>> acl freetimes time 03:00-08:00
>> range_offset_limit none download_until_end_by_ip freetimes
> wen you have  simultaneous connections on one large file update
>
> try that
>
> collapsed_forwarding on     <----- enable that will help if there is lots a
> connection to one file can shre
>
> acl range_list_path urlpath_regex \.(mar|msp|esd|pkg\?)       <----extention
> that you want to force full download
> range_offset_limit -1 range_list_path     <------------  -1 or none will
> work
> range_offset_limit 16 KB all !range_list_path  <---its option if you dont
> want spesific limit after
>
> ps...   range_offset_limit -1  or none might take your available bandwith so
> think befor doing it
>
>
>
> --
> View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/time-based-range-offset-limit-tp4678462p4678465.html
> Sent from the Squid - Users mailing list archive at Nabble.com.
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users



More information about the squid-users mailing list