Re: [squid-users] various problems

From: Muthukumar <kmuthu_gct@dont-contact.us>
Date: Thu, 10 Jun 2004 19:00:16 +0530

> I have delay pools setup like this:
>
> delay_pools 2
> delay_class 1 2
> delay_class 2 2
>

You are having 2 delay pools and using the delay pools for class C (255.255.255.0 family) ip-address.

> delay_parameters 1 -1/-1 7000/8000

delay pool number 1 is a class 2 delay pool to restict each host with the limit 7 - 8 k bytes

> delay_parameters 2 -1/-1 3000/4000
> This produces some strange behavior, the statement "delay_parameters 2 -1/-1
> 3000/4000" does not seem to work correctly, instead of shaping the download
> to 3-4k/s it behaves just like the first delay pool, shaping the download to
> 7-8k. Maybe a bug in squid 2.5stable3 ?
>

You have already given 7 - 8 k bytes limit usage to all hosts. So it won't work.

You have to change the delay_parametes settings. It is good to have the following,
- How much total load you are having?
- what are all the acls settings?

> delay_access 1 deny nolimit
> delay_access 1 allow files
> delay_access 1 allow clienti-64k
>
> delay_access 2 deny nolimit
> delay_access 2 allow files
> delay_access 2 allow clienti-32k
> delay_access 2 allow clienti-limit
>

Normally don't use more then two rules per delay pool type. Change the above as
delay_access 1 allow clienti-64k files !nolimit
delay_access 1 deny all

oops.You are using files users in two delay types!!

> The second problem that I have is when the clients behind the proxy try to
> login to some forum, sourceforge.net or any other php forum, immediately
> after login they are presented with the message "invalid session" or the
> login screen appears again.

I am not sure with the above problem. It is good to change the complete setting and check again.
Send your requirement with the details.

Regards,
Muthukumar.

---
===============  It is a "Virus Free Mail" ===============
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.701 / Virus Database: 458 - Release Date: 6/7/2004
Received on Thu Jun 10 2004 - 15:32:19 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Jul 01 2004 - 12:00:02 MDT