Re: [squid-users] Re: delay pools starvation

This is a discussion on Re: [squid-users] Re: delay pools starvation within the Squid Users forums, part of the Web Server and Related Forums category; On Wed, 21 Apr 2004, Bar wrote: > Parameter maxconn is matched against all connections from ip irrespective of > ...


Go Back   Usenet Forums > Web Server and Related Forums > Squid Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-22-2004
Henrik Nordstrom
 
Posts: n/a
Default Re: [squid-users] Re: delay pools starvation

On Wed, 21 Apr 2004, Bar wrote:

> Parameter maxconn is matched against all connections from ip irrespective of
> delay pool number
> used or request not going through delay pool.


Yes, but there is no problem using the same list of acls as you use in
delay_access to limit the number of connections before accepting the
request, and you can define multiple different maxconn acls.

> acl conlimit maxcon 1
> acl downloads urlpath_regex \.zip$ \.mp3$ ......
> delay pools 2
> delay_class 1 1
> delay_class 2 1
> delay_access 1 allow downloads conlimit
> delay_access 1 deny all
> delay_access 2 allow downloads
> delay_parameters 1 35000/35000
> delay_parameters 2 1000/1000
>
> Delay pool 1 will never be matched because browser open some connections.
> All downloads go through pool 2.


The conlimit check needs to go into http_access.

http_access deny downloads conlimit

Regards
Henrik

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:05 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0