Re: [squid-users] delay_pools

From: Dooda Dave <kirikkikku_at_gmail.com>
Date: Thu, 21 May 2009 15:00:42 +0700

Hi,

Saw Nyoman's. It's is a quick setup, but havent tried yet.

Is there any way I can limit to just some file types when people
download? So pages will be loaded normally with full speed.

Would really appreciate for any help.

Dooda

On Sat, Mar 28, 2009 at 12:18 AM, nyoman karna <balique8061_at_yahoo.com> wrote:
>
> Dear Maksim,
> first of all you'll need to attach your squid.conf
> without that we can only guess.
>
> but this is a simple example for delay pool i used,
> it create 2 pools, 1 for faculty (BW_at_32kbps) and
> 1 for students (BW_at_128kbps):
>
> acl faculty src 172.16.1.0/255.255.255.0
> acl students src 172.16.0.0/255.255.224.0
>
> delay_pools 2
> delay_class 1 2
> delay_class 2 2
> delay_access 1 allow faculty
> delay_access 1 deny all
> delay_access 2 allow students
> delay_access 2 deny all
>
> delay_parameters 1 256000/256000 4000/4000
> delay_parameters 2 256000/256000 16000/16000
>
> ------------------------------
>  Nyoman Bogi Aditya Karna
>          IM Telkom
>  http://www.imtelkom.ac.id
> ------------------------------
>
> --- On Fri, 3/27/09, Maksim Filenko <maksim.filenko_at_local-global.com.ua> wrote:
>
>> From: Maksim Filenko <maksim.filenko_at_local-global.com.ua>
>> Subject: [squid-users] delay_pools
>> To: squid-users_at_squid-cache.org
>> Date: Friday, March 27, 2009, 10:35 AM
>> Hi everyone!
>>
>> I've stuck with shaping issues.
>>
>> squid.exe -v
>>
>>         Squid Cache: Version
>> 2.7.STABLE4
>>         configure options:
>> --enable-win32-service --enable-storeio='ufs
>>         aufs null coss'
>> --enable-default-hostsfile=none
>>         --enable-removal-policies='heap
>> lru' --enable-snmp --enable-htcp
>>         --disable-wccp --disable-wccpv2
>> --enable-useragent-log
>>         --enable-referer-log
>> --enable-cache-digests --enable-auth='basic
>>         ntlm digest negotiate'
>> --enable-basic-auth-helpers='LDAP NCSA
>>         mswin_sspi'
>> --enable-negotiate-auth-helpers=mswin_sspi
>>
>> --enable-ntlm-auth-helpers='mswin_sspi fakeauth'
>>
>> --enable-external-acl-helpers='mswin_lm_group ldap_group'
>>         --enable-large-cache-files
>>
>> --enable-digest-auth-helpers='password LDAP eDirectory'
>>         --enable-forw-via-db
>> --enable-follow-x-forwarded-for
>>         --enable-delay-pools
>> --enable-arp-acl --prefix=c:/squid
>>
>>         Compiled as Windows System
>> Service.
>>
>> Here's what I've got in log:
>>
>>         2009/03/27 15:00:20|
>> Reconfiguring Squid Cache (version
>>         2.6.STABLE19)...
>>         2009/03/27 15:00:20| FD 11
>> Closing HTTP connection
>>         2009/03/27 15:00:20| FD 16
>> Closing SNMP socket
>>         2009/03/27 15:00:20| FD 14
>> Closing ICP connection
>>         2009/03/27 15:00:20| FD 15
>> Closing HTCP socket
>>         2009/03/27 15:00:20| FD 17
>> Closing SNMP socket
>>         2009/03/27 15:00:20| Cache dir
>> 'c:/squid/var/cache' size remains
>>         unchanged at 102400 KB
>>         2009/03/27 15:00:20|
>> parseConfigFile: line 2972 unrecognized:
>>         'delay_pools 5'
>>         2009/03/27 15:00:20|
>> parseConfigFile: line 2974 unrecognized:
>>         'delay_class 1 1'
>>         2009/03/27 15:00:20|
>> parseConfigFile: line 2975 unrecognized:
>>         'delay_class 2 1'
>>         2009/03/27 15:00:20|
>> parseConfigFile: line 2976 unrecognized:
>>         'delay_class 3 2'
>>         2009/03/27 15:00:20|
>> parseConfigFile: line 2977 unrecognized:
>>         'delay_class 4 1'
>>         2009/03/27 15:00:20|
>> parseConfigFile: line 2978 unrecognized:
>>         'delay_class 5 1'
>>         2009/03/27 15:00:20|
>> parseConfigFile: line 2980 unrecognized:
>>         'delay_access 1 allow media'
>>         2009/03/27 15:00:20|
>> parseConfigFile: line 2981 unrecognized:
>>         'delay_access 1 deny all'
>>         2009/03/27 15:00:20|
>> parseConfigFile: line 2982 unrecognized:
>>         'delay_access 2 allow
>> leechers'
>>         2009/03/27 15:00:20|
>> parseConfigFile: line 2983 unrecognized:
>>         'delay_access 2 deny all'
>>         2009/03/27 15:00:20|
>> parseConfigFile: line 2984 unrecognized:
>>         'delay_access 3 allow limited'
>>         2009/03/27 15:00:20|
>> parseConfigFile: line 2985 unrecognized:
>>         'delay_access 3 deny all'
>>         2009/03/27 15:00:20|
>> parseConfigFile: line 2986 unrecognized:
>>         'delay_access 4 allow
>> office_net'
>>         2009/03/27 15:00:20|
>> parseConfigFile: line 2987 unrecognized:
>>         'delay_access 4 deny all'
>>         2009/03/27 15:00:20|
>> parseConfigFile: line 2988 unrecognized:
>>         'delay_access 5 allow
>> unlim_ip'
>>         2009/03/27 15:00:20|
>> parseConfigFile: line 2989 unrecognized:
>>         'delay_access 5 deny all'
>>         2009/03/27 15:00:20|
>> parseConfigFile: line 2991 unrecognized:
>>         'delay_parameters 1
>> 16000/16000'
>>         2009/03/27 15:00:20|
>> parseConfigFile: line 2992 unrecognized:
>>         'delay_parameters 2
>> 16000/16000'
>>         2009/03/27 15:00:20|
>> parseConfigFile: line 2993 unrecognized:
>>         'delay_parameters 3 32000/32000
>> 8000/8000'
>>         2009/03/27 15:00:20|
>> parseConfigFile: line 2994 unrecognized:
>>         'delay_parameters 4
>> 128000/128000 # 1Mbit to all'
>>         2009/03/27 15:00:20|
>> parseConfigFile: line 2995 unrecognized:
>>         'delay_parameters 5 -1/-1 #
>> 2Mbit to all'
>>         2009/03/27 15:00:20| User-Agent
>> logging is disabled.
>>         2009/03/27 15:00:20| Referer
>> logging is disabled.
>>         2009/03/27 15:00:20| DNS Socket
>> created at 0.0.0.0, port 48960,
>>         FD 10
>>         2009/03/27 15:00:20| Adding
>> nameserver 192.168.1.1 from
>>         squid.conf
>>         2009/03/27 15:00:20| Accepting
>> proxy HTTP connections at
>>         0.0.0.0, port 3128, FD 11.
>>         2009/03/27 15:00:20| Accepting
>> ICP messages at 0.0.0.0, port
>>         3130, FD 14.
>>         2009/03/27 15:00:20| Accepting
>> HTCP messages on port 4827, FD
>>         15.
>>         2009/03/27 15:00:20| Accepting
>> SNMP messages on port 3401, FD
>>         16.
>>         2009/03/27 15:00:20| Outgoing
>> SNMP messages on port 3401, FD 17.
>>         2009/03/27 15:00:20| Loaded
>> Icons.
>>         2009/03/27 15:00:20| Ready to
>> serve requests.
>>
>> I'll be appreciated for any help!
>>
>
>
>
>
Received on Thu May 21 2009 - 08:00:49 MDT

This archive was generated by hypermail 2.2.0 : Thu May 21 2009 - 12:00:01 MDT