RE: [squid-users] Unable to download files over 2GB of size

From: Sathyan, Arjonan <Arjonan.Sathyan@dont-contact.us>
Date: Fri, 4 May 2007 20:25:58 -0700

Henrik,

Please find the version details of my Squid

# /usr/local/squid/sbin/squid -v
Squid Cache: Version 2.6.STABLE12
configure options: '--prefix=/usr/local/squid'
'--enable-large-cache-files'
#

As per your suggestion I compiled the build to support large cache files
(--enable-large-cache-files)...

But still nothing seems to be working on my way. It's all resulting
same.

GIVEN BELOW ARE MY SQUID CONFIGURATION PARAMETERS

http_port 74

#We recommend you to use the following two lines.
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY

# Apache to signal ETag correctly on such responses
acl apache rep_header Server ^Apache
broken_vary_encoding allow apache

#Default:
cache_mem 64 MB

#Default:
cache_swap_low 90
cache_swap_high 95

#Default:
maximum_object_size 4096 KB

#Default:
# minimum_object_size 0 KB

#
#Default:
# maximum_object_size_in_memory 8 KB

#Default:
ipcache_size 1024
ipcache_low 90
ipcache_high 95

#Default:
# fqdncache_size 1024

#
#Default:
cache_replacement_policy lru

#Default:
memory_replacement_policy lru

#Default:
cache_dir ufs /usr/local/squid/var/cache 8192 16 256

#
logformat squid %ts.%03tu %6tr %>a %Ss/%03Hs %<st %rm %ru %un %Sh/%<A
%mt
logformat squidmime %ts.%03tu %6tr %>a %Ss/%03Hs %<st %rm %ru %un
%Sh/%<A %mt [%>h] [%<h]
logformat common %>a %ui %un [%tl] "%rm %ru HTTP/%rv" %Hs %<st %Ss:%Sh
logformat combined %>a %ui %un [%tl] "%rm %ru HTTP/%rv" %Hs %<st
"%{Referer}>h" "%{User-Agent}>h" %Ss:%Sh
#
access_log /usr/local/squid/var/logs/access.log squid

#Default:
cache_log /usr/local/squid/var/logs/cache.log

#Default:
cache_store_log /usr/local/squid/var/logs/store.log

emulate_httpd_log off

log_ip_on_direct on

mime_table /usr/local/squid/etc/mime.conf

auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off
#Default:
# request_header_max_size 20 KB

#Default:
# request_body_max_size 0 KB

#Suggested default:
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320

#Recommended minimum configuration:
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

#Default:
http_access allow all
# Only allow cachemgr access from localhost
http_access allow manager localhost
http_access deny manager
# Deny requests to unknown ports
http_access deny !Safe_ports
# Deny CONNECT to other than SSL ports
http_access deny CONNECT !SSL_ports
# And finally deny all other access to this proxy
http_access deny all
http_reply_access allow all

icp_access allow all

#Default:
reply_body_max_size 0 allow all

cache_mgr webmaster

cache_effective_user squid

visible_hostname testproxy@testdomain.com

coredump_dir /usr/local/squid/var/cache

Regards,
Sathyan Arjunan
Unix Support | +1 408-962-2500 Extn : 22824
Kindly copy dl.sys.adm@spansion.com or reach us @ 22818 for any
correspondence alike to ensure your email are being replied in timely
manner
Received on Fri May 04 2007 - 21:26:07 MDT

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