Re: [squid-users] Maxconn Scenario

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Tue, 04 Apr 2006 12:30:23 +0200

tis 2006-04-04 klockan 09:28 +0700 skrev Lazuardi Nasution:

> a) Scenario 1:
> http_access allow all !myMax

Limits all connections, no matter if its a cache hit or miss..

> b) Scenario 2:
> http_reply_access allow all !myMax

Dont do this.

> c) Scenario 3:
> cache_peer_access proxyA allow all !myMAx
> cache_peer_access proxyB allow all !myMAx
> cache_peer_access proxyC allow all !myMAx

This sounds like a better match for what you want to do. Denies the user
access to parents if he is having too many open connections to your
Squid.

You can do the same with the miss_access directive. Gives the user a
slightly different error message.

If you want to control the error message given to the client using
deny_info then only scenario 1 is available.

Regards
Henrik

Received on Tue Apr 04 2006 - 04:30:37 MDT

This archive was generated by hypermail pre-2.1.9 : Mon May 01 2006 - 12:00:02 MDT