Adnan Shahzad wrote:
> Thanks for reply
>
> But how can I limit speed? I have 15 MB Internet speed, and around 1200 Clients.... mean I want to give at least around 512 KB each client
>
> Can you help me how delay pool help me in this regard
>
http://wiki.squid-cache.org/Features/DelayPools covers the feature.
You say that in a very strange way; "limit speed" =?= "give at least".
The lower limit for speed will always be zero, and Squid can only
affect the upper limit (cap).
15*1024 / 512 == 30 clients at your minimum required speed. With 1200 to
service you better cross your fingers and hope for the best. :)
I really don't think you need to worry about this. Squid will manage
the speed relatively evenly between all simultaneously connected
clients. Regardless of the number.
The only way you are going to be able to guarantee that minimum speed
will be to turn clients way once you get more than 30 simultaneous
connections. Which is perhapse wore than slowing the existing ones down.
You could fake it a bit by using the maxconn ACL type to limit how many
simultaneous connections an IP can have.
Amos
>
> -----Original Message-----
> From: Amos Jeffries [mailto:squid3_at_treenet.co.nz]
> Sent: Tuesday, February 16, 2010 10:17 AM
> To: squid-users_at_squid-cache.org
> Subject: Re: [squid-users] delay pool
>
> Adnan Shahzad wrote:
>> Dear All,
>>
>> I want to configure Per user quota, Mean 2 GB per day internet access. Can I do it with delay pools? But in delay pool how???? And my 2nd question is delay pool bucket is for day or for week or month?
>
> Delay pools works in seconds. Being old code it's also got some numeric 32-bit limits hanging around.
>
> What you can do with it is assign a per-user bandwidth speed. Squid will police it for your HTTP traffic.
>
> Quota stuff is quite hard in squid and still requires some custom code using helpers to manage the bandwidth used and do all the accounting.
> Squid only does allow/deny control at that point.
>
> Amos
> --
> Please be using
> Current Stable Squid 2.7.STABLE8 or 3.0.STABLE24
> Current Beta Squid 3.1.0.16
-- Please be using Current Stable Squid 2.7.STABLE8 or 3.0.STABLE24 Current Beta Squid 3.1.0.16Received on Tue Feb 16 2010 - 09:24:07 MST
This archive was generated by hypermail 2.2.0 : Tue Feb 16 2010 - 12:00:05 MST