Re: [squid-users] Squid slows down

From: Bartek <[email protected]>
Date: Mon, 19 May 2003 12:46:36 +0200

> m�n 2003-05-19 klockan 10.19 skrev Bartek:
>
> > I have 2 delay pools configured to slow down large downloads but if even
is
> > a lot of bandwidth available in second pool the performance is poor.
>
> The symptoms you describe is quite consistent with bandwidth exhaustion.
>
> What is your delay pool configuration?

acl magic_words1 url_regex -i mydomain.com
acl magic_words2 url_regex -i ftp .wmv .swf .asf .rar .dat .cab .exe .mp3
.mp3? .vqf .tar .tgz .gz ...
                there is more extensions in magic_words2...
delay_pools 2
delay_class 1 2
delay_class 2 2
delay_access 1 allow magic_words1
delay_access 2 allow magic_words2
delay_parameters 1 -1/-1 -1/-1
delay_parameters 2 25000/25000 25000/25000

thats all

cachemgr display this

Delay pools configured: 2

Pool: 1
        Class: 2

        Aggregate:
                Disabled.

        Individual:
                Disabled.

Pool: 2
        Class: 2

        Aggregate:
                Max: 25000
                Restore: 25000
                Current: -10

        Individual:
                Max: 25000
                Rate: 25000
                Current: 115:25000 28:25000 212:25000 122:25000 213:25000 202:25000
209:25000 214:25000 203:25000 16:25000

When delay pool 2 is filled there is still 50% of bandwidth free for normal
www browsing.
I'm not sure if this config is correct anyway.

> Maybe the splitted requests is not placed into the delay pools they are
> supposed to go into, or the pool settings is not exacly what is
> intended...

I'm not sure if this extensions in magic_words2 are properly interpreted by
squid:
.mp3 .avi ...
I sow in examples inscription like this \.mp3$ and don't exactlty what means
this "$" at the end.
I suppose that ".\" is an escape character.

Best regards,
Bar
Received on Mon May 19 2003 - 04:47:46 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:16:44 MST