Transparent proxy under squid2.0-PATCH2 (please help)

From: Irfan Akber <irfan@dont-contact.us>
Date: Fri, 8 Jan 1999 13:05:01 -0000

Hi all,

I really need help with this. I was running transproxy0.4 for quite some
time which worked OK but as it was pointed out in the list I installed
Squid2.0-PATCH2 on the gateway machine to redirect web requests. My setup
is as follows.

              Cache2
                |
users ---- squid2.0 (transparent proxy, cache1)
                    |
                 Cache3

Cache1 redirects few requests to Cache2 and few to Cache3. The problem is
Cache1 seems to be in a loop and sends so many requests for certain
addresses that the bandwidth is totally choked up. Max number of users
accessing Cache1 are 40 but the filedescriptors go as high as 360 which is
not possible. Please can someone give me the solution to this problem. I
have the following in cache.log of Cache1.

1999/01/07 23:46:12| clientSendMoreData: Deferring
http://www.geocities.com/SoHo
/Gallery/3496/sushmi02.html
1999/01/07 23:46:58| clientSendMoreData: Deferring
http://www.geocities.com/SoHo
/Gallery/9448/138.html
1999/01/07 23:47:02| clientSendMoreData: Deferring
http://www.geocities.com/SoHo
/Gallery/9448/127.html
1999/01/07 23:47:11| clientSendMoreData: Deferring
http://www.geocities.com/Aven
ues/
1999/01/07 23:47:14| clientSendMoreData: Deferring
http://www.geocities.com/SoHo
/Gallery/9448/142T.JPG
1999/01/07 23:56:23| clientKeepaliveNextRequest: FD 115 Sending next
1999/01/07 23:56:28| clientSendMoreData: Deferring
http://www.geocities.com/SoHo
/Gallery/5005/priya01.jpg
1999/01/07 23:56:35| clientSendMoreData: Deferring
http://www.geocities.com/SoHo
/Cafe/5723/MIX31.JPG
1999/01/07 23:56:37| clientKeepaliveNextRequest: FD 95 Sending next
1999/01/07 23:56:38| clientSendMoreData: Deferring
http://www.geocities.com/SoHo
/Cafe/5723/MIX32T.JPG

The log is just filled with above entries.

Cache1 configuration.
-------------------------------
http_port 3127
httpd_accel_host virtual
httpd_accel_uses_host_header on
httpd_accel_with_proxy on

ipfwadm rule.

ipfwadm -I -a accept -S 208.240.201.64/26 -D 0.0.0.0/0 80 -r 3127 -P tcp
ipfwadm -I -a accept -S 208.240.201.128/26 -D 0.0.0.0/0 80 -r 3127 -P tcp

I would appreciate your reply.

Thanks,

Irfan Akber
Received on Fri Jan 08 1999 - 01:39:31 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:43:56 MST