Search squid archive

Squid Rate-Limiting TCP_HIT Downloads

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sir,

   I have compiled Squid 2.6.13 on Fedora core 5
with delay pools enabled.


   Squid 2.5.14 never rate limited the local TCP_HIT
traffic at delay pools rate. Local TCP_HIT traffic
worked at LAN speed.

   But Squid 2.6.13 is rate limiting the TCP_HIT
traffic also delay pools rate. Is this Expected?..


My Squid config:/usr/local/squid/sbin/squid -v
Squid Cache: Version 2.6.STABLE13
configure options: '--build=i686-redhat-linux-gnu'
'--host=i686-redhat-linux-gnu'
'--target=i386-redhat-linux-gnu' '--program-prefix='
'--prefix=/usr/local/squid' '--enable-epoll'
'--enable-snmp' '--enable-removal-policies=heap,lru'
'--enable-storeio=aufs,null,ufs' '--enable-ssl'
'--with-openssl=/usr/kerberos' '--enable-delay-pools'
'--enable-linux-netfilter' '--with-pthreads'
'--enable-useragent-log' '--enable-referer-log'
'--disable-dependency-tracking'
'--enable-cachemgr-hostname=localhost'
'--enable-underscores' '--enable-cache-digests'
'--enable-ident-lookups' '--with-large-files'
'--enable-fd-config' '--enable-follow-x-forwarded-for'
'build_alias=i686-redhat-linux-gnu'
'host_alias=i686-redhat-linux-gnu'
'target_alias=i386-redhat-linux-gnu'


cat /usr/local/squid/etc/squid.conf | grep -v ^$ |
grep -v ^#
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
acl apache rep_header Server ^Apache
broken_vary_encoding allow apache
http_port 10.172.198.9:3128  transparent
visible_hostname MOLMTM
cache_mem 16 MB
acl all src 0.0.0.0/0.0.0.0
acl siti src 10.172.196.0/24 10.172.197.0/24
10.172.198.0/24 10.172.199.0/24
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 allow manager localhost
http_access allow manager  siti
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
http_access allow siti
http_access deny all
icp_access allow all
cache_log none
cache_access_log /cache1/log/access.log
cache_store_log none
cache_dir aufs /cache1/squidpool    36000 32 256
cache_dir aufs /cache2/squidpool    36000 32 256
half_closed_clients off
maximum_object_size 40 MB
maximum_object_size_in_memory 16 KB
cache_swap_high 100%
cache_swap_low 80%
acl normalday  time 07:00-22:00
acl nightdouble time 22:00-23:59
acl midnight time 00:00-07:00
delay_pools 2
delay_class 1 3
delay_parameters 1 192000/212000 -1/-1 9000/12000
delay_access 1 allow siti normalday
delay_access 1 deny all
delay_class 2 3
delay_parameters 2 162000/182000 -1/-1 29000/35000
delay_access 2 allow siti nightdouble
delay_access 2 allow siti midnight
delay_access 2 deny all
[root@MOL ~]#

   I suppose Squid to serve TCP_HIT traffic at LAN
speed...

Regards,
Rayudu.


      ____________________________________________________________________________________
Fussy? Opinionated? Impossible to please? Perfect.  Join Yahoo!'s user panel and lay it on us. http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux