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; > > It would be a great feature if each delay pool have its own maxconn per ip > > ...


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-21-2004
Bar
 
Posts: n/a
Default Re: [squid-users] Re: delay pools starvation

> > It would be a great feature if each delay pool have its own maxconn per
ip
> > address parameter solving the accelerators problem and delay pools
> > starvation.

>
> How is the existing maxconn acl insufficient?


Parameter maxconn is matched against all connections from ip irrespective of
delay pool number
used or request not going through delay pool.
I wolud like to limit only downloads on fair share basis by delay pool where
everyone has only 1 connection available or so but I want also that if
someone is downloading he could browse without
delay.
If I limit connections by maxconn it will limit also browsing.
I've expirienced browsing problem when maxconn is too low because browsers
use more connections to speed up browsing.
ie I set sth like this:

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.
Browsing going without any pool.
I choose pool type 1 because I don't want limit user to static limit if
there is ie 35k/s available for downloading(I read some on dynamic delay
pools patches but can't get any).
Without maxconn scenario all downloads going throug pool 1 and there is no
need for pool 2 but
if someone is using download accelerator bandwidth is shared uneqally.
The worst thing is if there is more such users the delay pool is simply
starving and normal user with only one thread can't download anything.
So maxconn parameter per delay pool will solve many problems with fair
sharing and download accelerators if properly configured.

Best regards,
Bar



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 07:28 PM.


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