Search squid archive

Re: Re: Squid Seems to be Rate-Limiting TCP_HIT Downloads

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

 



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



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

  Powered by Linux