[squid-users] Re: Re: Squid Seems to be Rate-Limiting TCP_HIT Downloads

From: RW <fbsd06@dont-contact.us>
Date: Fri, 08 Jun 2007 17:47:09 +0100

Adrian Chadd wrote:

> On Fri, Jun 08, 2007, RW wrote:

>> This either a bug or a feature, I can't see 20KB/s being a disk access
>> bottleneck.
>
> Then post the config sans-comments. Ie:
>
> $ cat squid.conf | grep -v ^# | grep -v ^$
>
> Then we can see if you're running delay pools, what else could be causing
> the issue.

$ cat squid.conf | grep -v ^# | grep -v ^$
http_port 3128
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY
acl apache rep_header Server ^Apache
broken_vary_encoding allow apache
maximum_object_size 12 MB
cache_dir ufs /usr/local/squid/cache 160 16 256
cache_swap_low 90
cache_swap_high 95
logfile_rotate 4
access_log /usr/local/squid/logs/access.log squid
refresh_pattern ^ftp: 1440 33% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i \.(zip|rar|bz2|gz)$ 10 5% 999 reload-into-ims
refresh_pattern -i \.(pdf|ps)$ 0 25% 999 reload-into-ims
refresh_pattern -i \.(jpe?g|gif)$ 0 25% 18000
refresh_pattern -i \.(swf)$ 0 5% 4320
refresh_pattern . 0 25% 4320
quick_abort_min 32 KB
quick_abort_max 200 KB
quick_abort_pct 33
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
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 deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
acl mylan src 192.168.1.0/255.255.255.0
http_access allow mylan
http_access allow localhost
http_access deny all
http_reply_access allow all
icp_access allow all
maximum_single_addr_tries 4
coredump_dir /usr/local/squid
Received on Fri Jun 08 2007 - 10:47:58 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Jul 01 2007 - 12:00:04 MDT