[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

06/03/2008 at 10:14AM PDT, ID: 23453894
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

6.9

Squid download speed for large files

Asked by sonnenschein987 in Linux Networking, Unix Networking

Tags: Squid, Squid 2.6, 2.6, Mandriva Linux 2007

We have a proxy here, squid 2.6 on a Mandriva box. It performs extremely well for browsing, but it turns out to be a pain in the b.tt when downloading large files. It limits somehow the bandwidth to somewhere around 40 kbs while by just bypassing squid it goes up to everything available here, means 300 kbs.

I took the standard distribution that came with mandiva and it should not have delay pools, anyway there are none configured.

So the only thing I really need to know is, how can I get squid to download large files faster. I assume I have some bug in my conf.
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
131:
132:
133:
134:
135:
136:
137:
138:
139:
140:
141:
142:
143:
144:
145:
146:
147:
148:
149:
150:
151:
152:
153:
# NETWORK OPTIONS
# -----------------------------------------------------------------------------
 
http_port 3128
icp_port 0
htcp_port 0
 
hierarchy_stoplist cgi-bin ?
 
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY
 
acl apache rep_header Server ^Apache
broken_vary_encoding allow apache
 
 
# OPTIONS WHICH AFFECT THE CACHE SIZE
# -----------------------------------------------------------------------------
 
cache_mem 256 MB
 
cache_swap_low 90
cache_swap_high 95
maximum_object_size 4096 KB
maximum_object_size_in_memory 128 KB
ipcache_size 1024
ipcache_low 90
ipcache_high 95
fqdncache_size 1024 KB
cache_replacement_policy lru
memory_replacement_policy lru
 
 
# LOGFILE PATHNAMES AND CACHE DIRECTORIES
# -----------------------------------------------------------------------------
 
cache_dir ufs /data/squid/cache0 10000 64 256
cache_dir ufs /data/squid/cache1 10000 64 256
 
access_log /data/squid/log/access.log squid
cache_log /data/squid/log/cache.log
cache_store_log /data/squid/log/store.log
debug_options ALL,1
log_fqdn off
client_netmask 255.255.255.255
 
 
# OPTIONS FOR TUNING THE CACHE
# -----------------------------------------------------------------------------
 
refresh_pattern ^ftp:		1440	20%	10080
refresh_pattern ^gopher:	1440	0%	1440
refresh_pattern .		0	20%	4320
 
 
# TIMEOUTS
# -----------------------------------------------------------------------------
 
forward_timeout 4 minutes
connect_timeout 1 minute
persistent_request_timeout 120 minutes
 
 
# ACCESS CONTROLS
# -----------------------------------------------------------------------------
 
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 FTP proto FTP
acl HTTPS proto HTTPS
 
acl CONNECT method CONNECT
 
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 mynet src ...
 
acl adminnet src ...
acl adminnet src ...
 
acl ourdomains dstdomain me.com
 
http_access allow manager localhost
http_access allow manager adminnet
http_access deny manager
 
always_direct allow FTP
always_direct allow HTTPS
 
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
 
http_access allow adminnet
http_access allow ourdomains
 
acl support.microsoft.com dstdomain support.microsoft.com
header_access Accept-Encoding deny support.microsoft.com
 
acl blockfiles urlpath_regex "/etc/squid/blocks.files.acl"
# see /usr/lib/squid/error/...
deny_info ERR_BLOCKED_FILES blockfiles
http_access deny blockfiles
 
http_access allow mynet
http_access deny all
 
 
# ADMINISTRATIVE PARAMETERS
# -----------------------------------------------------------------------------
 
cache_mgr #####
cachemgr_passwd ###### all
mail_from squidcache@we.com
 
visible_hostname wpad.we.com
 
 
# OPTIONS FOR THE CACHE REGISTRATION SERVICE
# -----------------------------------------------------------------------------
 
announce_period 0
 
 
# HTTPD-ACCELERATOR OPTIONS
# -----------------------------------------------------------------------------
 
httpd_accel_no_pmtu_disc off
 
 
# MISCELLANEOUS
# -----------------------------------------------------------------------------
 
# dns_testnames google.com
 
logfile_rotate 9
memory_pools on
 
memory_pools_limit 5 MB
 
coredump_dir /var/spool/squid
[+][-]07/26/08 03:50 PM, ID: 22096538

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Linux Networking, Unix Networking
Tags: Squid, Squid 2.6, 2.6, Mandriva Linux 2007
Sign Up Now!
Solution Provided By: gheist
Participating Experts: 3
Solution Grade: A
 
 
[+][-]06/03/08 11:40 AM, ID: 21703180

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/03/08 12:20 PM, ID: 21703617

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/03/08 11:10 PM, ID: 21707316

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/05/08 04:58 AM, ID: 21718282

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/05/08 05:27 AM, ID: 21718525

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/05/08 07:52 AM, ID: 21720175

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/05/08 12:16 PM, ID: 21722970

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/05/08 01:25 PM, ID: 21723582

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/05/08 01:29 PM, ID: 21723617

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/05/08 01:34 PM, ID: 21723683

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/05/08 01:44 PM, ID: 21723774

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/05/08 01:44 PM, ID: 21723779

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/05/08 01:47 PM, ID: 21723807

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/05/08 01:50 PM, ID: 21723829

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/05/08 01:51 PM, ID: 21723843

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/05/08 02:31 PM, ID: 21724212

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/05/08 02:43 PM, ID: 21724294

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/06/08 12:09 AM, ID: 21726818

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/06/08 12:19 AM, ID: 21726871

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/06/08 06:48 AM, ID: 21729003

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/06/08 08:42 AM, ID: 21730103

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07/26/08 02:59 PM, ID: 22096374

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]07/27/08 01:54 AM, ID: 22097744

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091028-EE-VQP-86 / EE_QW_2_20070628