Re: [squid-users] Streaming is killing Squid cache

From: Nyamul Hassan <mnhassan_at_usa.net>
Date: Mon, 2 Mar 2009 14:00:17 +0600

We've been running Windows Update via Squid, and I must say it works like a
charm. While I do agree that having a Win2k3 or Win2k8 with AD could
simplify admin, as most clients are running Windows, in our scenario, that
is out of the question, as we're an ISP, and there is no way we can / want
to force users to be users of our AD.

Regards
HASSAN

----- Original Message -----
From: "Gregori Parker" <Gregori.Parker_at_theplatform.com>
To: "Amos Jeffries" <squid3_at_treenet.co.nz>
Cc: "Brett Glass" <squid-users_at_brettglass.com>;
<squid-users_at_squid-cache.org>
Sent: Monday, March 02, 2009 13:13
Subject: RE: [squid-users] Streaming is killing Squid cache

I missed the part where he mentioned that this is a poor ISP with no control
over their clients, so you'll have to pardon my fatal presumptuousness.
Hint: I'm rolling my eyes

It may seem marvelous, but there actually are a handful of places that run
Windows...even on servers. In that sort of environment, you're likely to
find AD, in which case WSUS + GPO are both simple, sensible and _zero_ cost
solutions for this problem.

________________________________

From: Amos Jeffries [mailto:squid3_at_treenet.co.nz]
Sent: Sun 3/1/2009 5:15 PM
To: Gregori Parker
Cc: Brett Glass; Amos Jeffries; squid-users_at_squid-cache.org
Subject: RE: [squid-users] Streaming is killing Squid cache

> Better yet, implement a wsus server, let it bypass caching and gpo your
> users to update from that. That way you can get away from having ms
> updates dictate caching options that result in problems with streaming.
>

You are of course making a few very fatal assumptions:

 1) that every service provider with this issue can afford to run a
dedicated Windows server machine for this purpose.

 2) that they want to.
 (I for one marvel that people are still willing to run MS windows on ANY
server.)

 3) that they have Enterprise level of control over where their clients
machines get WU from. Hint: Tier 0-3 ISP have _zero_ control over client
machine settings.

Amos

> ________________________________
>
> From: Brett Glass [mailto:squid-users_at_brettglass.com]
> Sent: Sun 3/1/2009 8:02 AM
> To: Amos Jeffries; Brett Glass
> Cc: squid-users_at_squid-cache.org
> Subject: Re: [squid-users] Streaming is killing Squid cache
>
>
>
> At 09:47 PM 2/28/2009, Amos Jeffries wrote:
>
>
>>Leaving min at -1, and max at something large (10-50MB?)
>>
>>Should abort the streams when they reach the max value, You'll have to
>> set the max to something reasonably higher than the WU cab size.
>>Service Packs may cause issues since they are >100MB each, but are
>> infrequent enough to use a spider and cause caching if need be.
>
> We've actually seen Microsoft updates as big as 800 MB.
>
> Of course, this is a good argument for turning this setting into something
> that's controlled by an ACL, so one could say, "Cache everything from
> Microsoft, but not from these streaming providers."

Hmm, thinking about this some more...

Maybe your fix is to "cache deny X" where X is an ACL defining the
streaming sources. The abort logics apparently seem to only hold links
open if they are considered cacheable (due to headers and non-denial in
Squid).

Or perhapse you are hitting the one rare case where "half_closed_clients
on" is needed for now to make the abort kick in.

Amos
Received on Mon Mar 02 2009 - 08:00:58 MST

This archive was generated by hypermail 2.2.0 : Mon Mar 02 2009 - 12:00:02 MST