Hi everyone,
I have Squid3.0STABLE9 installed on a CentOS5.2_x86_64 system. I have
problems with downloads, especially large files. Usually downloads are slow
in my network because of the amount of users I have but I dealt with it
using download accelerators like “FlashGET”. Now the downloads get
interrupted and they never resume and I don’t know why. I can’t seem to find
a pattern as to when or why the downloads get interrupted. I don’t know if I
explained my self well enough. I’m suspecting that there is something wrong
with all the configurations I did to tune de cache effectiveness. This is
the configuration I have. I left out all of my ACLs since I presume they are
not very helpful in this case. I would really appreciate any help I can get.
Thanks.
# TAG: http_port
http_port 192.168.0.4:3128
http_port 192.168.54.4:3128
# TAG: icp_port
icp_port 0
# OPTIONS WHICH AFFECT THE NEIGHBOR SELECTION ALGORITHM
#
----------------------------------------------------------------------------
-
# TAG: cache_peer
cache_peer 192.168.250.2 parent 1080 0 no-query default
# TAG: hierarchy_stoplist
hierarchy_stoplist cgi-bin ?
# TAG: nonhierarchical_direct
nonhierarchical_direct off
# TAG: cache
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY
# OPTIONS WHICH AFFECT THE CACHE SIZE
#
----------------------------------------------------------------------------
-
# TAG: cache_mem (bytes)
cache_mem 36 MB
# TAG: cache_swap_low (percent, 0-100)
# TAG: cache_swap_high (percent, 0-100)
cache_swap_low 90
cache_swap_high 95
# TAG: maximum_object_size (bytes)
maximum_object_size 35840 KB
# TAG: maximum_object_size_in_memory (bytes)
maximum_object_size_in_memory 16 KB
# TAG: offline_mode
offline_mode off
# TAG: cache_replacement_policy
cache_replacement_policy heap LFUDA
# TAG: memory_replacement_policy
memory_replacement_policy heap GDSF
# TAG: range_offset_limit (bytes)
range_offset_limit -1
# LOGFILE PATHNAMES AND CACHE DIRECTORIES
#
----------------------------------------------------------------------------
-
# TAG: cache_dir
cache_dir ufs /var/spool/squid 20480 16 256
# TAG: access_log
access_log /var/log/squid/access.log
# TAG: cache_log
cache_log /var/log/squid/cache.log
# TAG: useragent_log
#useragent_log /var/log/squid/useragent.log
# TAG: cache_store_log
cache_store_log /var/log/squid/store.log
# TAG: pid_filename
pid_filename /var/run/squid.pid
# OPTIONS FOR EXTERNAL SUPPORT PROGRAMS
#
----------------------------------------------------------------------------
-
# TAG: ftp_user
ftp_user Squid_at_proxy.cha.jovenclub.cu
# TAG: ftp_list_width
ftp_list_width 32
# TAG: ftp_passive
ftp_passive on
# TAG: ftp_sanitycheck
ftp_sanitycheck on
# TAG: dns_nameservers
dns_nameservers 192.168.54.3 192.168.54.4 192.168.250.1 192.168.250.3
# TAG: hosts_file
hosts_file /etc/hosts
# TAG: auth_param
auth_param basic program /usr/lib64/squid/ncsa_auth /etc/squid/claves
auth_param basic realm proxy.cha.jovenclub.cu
auth_param basic children 5
auth_param basic realm proxy.cha.jovenclub.cu
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off
# OPTIONS FOR TUNING THE CACHE
#
----------------------------------------------------------------------------
-
# TAG: request_body_max_size (KB)
request_body_max_size 4 MB
# TAG: refresh_pattern
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i .nup 960 200% 1440
refresh_pattern -i .ver 960 200% 1440
refresh_pattern -i .zip 960 200% 1440
refresh_pattern -i .exe 960 200% 1440
refresh_pattern -i .l2b 960 200% 1440
refresh_pattern -i .p7h 960 200% 1440
refresh_pattern -i .avc 960 200% 1440
refresh_pattern -i .avc 960 200% 1440
refresh_pattern -i .rar 960 200% 1440
refresh_pattern -i .vpu 960 200% 1440
refresh_pattern -i .dat 960 200% 1440
refresh_pattern -i .dif 960 200% 1440
refresh_pattern -i .klz 960 200% 1440
refresh_pattern -i .kdc 960 200% 1440
refresh_pattern -i .ctf 960 200% 1440
refresh_pattern -i .bin 960 200% 1440
refresh_pattern -i .jpg 1440 250% 4320 override-expire
override-lastmod
refresh_pattern -i .gif 1440 250% 4320 override-expire
override-lastmod
refresh_pattern -i .png 1440 250% 4320 override-expire
override-lastmod
refresh_pattern -i .js 1440 250% 4320 override-expire
override-lastmod
refresh_pattern -i .ico 1440 250% 4320 override-expire
override-lastmod
refresh_pattern -i .css 1440 250% 4320 override-expire
override-lastmod
refresh_pattern -i . 300 250% 2880 override-expire
override-lastmod
# TAG: quick_abort (KB)
quick_abort_min 64 KB
quick_abort_max 128 KB
quick_abort_pct 90
# TAG: reload_into_ims on|off
reload_into_ims on
# TAG: collapsed_forwarding (on|off)
collapsed_forwarding on
# TAG: half_closed_clients
half_closed_clients off
# ACCESS CONTROLS
#
----------------------------------------------------------------------------
-
# TAG: http_reply_access
http_reply_access allow all
icp_access allow all
# ADMINISTRATIVE PARAMETERS
#
----------------------------------------------------------------------------
-
# TAG: cache_mgr
cache_mgr admin
# TAG: cachemgr_passwd
cachemgr_passwd squidcha13 all
# TAG: cache_effective_user
cache_effective_user squid
# TAG: cache_effective_group
cache_effective_group squid
# TAG: visible_hostname
visible_hostname proxy.cha.jovenclub.cu
# TAG: coredump_dir
coredump_dir /var/spool/squid
# TAG: error_directory
error_directory /usr/share/squid/errors/Spanish
# TAG: snmp_port
snmp_port 3401
# TAG: snmp_access
snmp_access allow community localhost
snmp_access deny all
# MISCELLANEOUS
#
----------------------------------------------------------------------------
-
# TAG: retry_on_error
retry_on_error on
Received on Thu Oct 23 2008 - 18:39:14 MDT
This archive was generated by hypermail 2.2.0 : Fri Oct 24 2008 - 12:00:04 MDT