[squid-users] request loop back in the access file

From: Mustafa Raji <mustafa.raji_at_yahoo.com>
Date: Thu, 1 Mar 2012 00:00:54 -0800 (PST)

hi i have some problem with squid cache server the problem is the requests are looped inside the access.log file when i activate squid server, the server was working normally in the last days, this day i noticed a slow performance in web browsing when i checked the cache.log no error or any warning is logged, only a few queue congestion warning which is normally because it's test server and the cache dir is in the same sata hard drive, but checking the access.log file it's logs so many repeated requests as shown 1330586819.008      0 192.168.40.1 TCP_HIT/302 972 GET http://o-o.preferred.fra02s05.v24.lscache1.c.youtube.com/videoplayback? - NONE/- text/html 1330586819.016      1 192.168.40.1 TCP_HIT/302 972 GET http://o-o.preferred.fra02s05.v24.lscache1.c.youtube.com/videoplayback? - NONE/- text/html 1330586819.016      0 192.168.40.1 TCP_HIT/302 972 GET http://o-o.preferred.fra02s05.v24.lscache1.c.youtube.com/videoplayback? - NONE/- text/html 1330586819.024      1 192.168.40.1 TCP_HIT/302 972 GET http://o-o.preferred.fra02s05.v24.lscache1.c.youtube.com/videoplayback? - NONE/- text/html 1330586819.024      0 192.168.40.1 TCP_HIT/302 972 GET http://o-o.preferred.fra02s05.v24.lscache1.c.youtube.com/videoplayback? - NONE/- text/html 1330586819.032      0 192.168.40.1 TCP_HIT/302 972 GET http://o-o.preferred.fra02s05.v24.lscache1.c.youtube.com/videoplayback? - NONE/- text/html 1330586819.033      0 192.168.40.1 TCP_HIT/302 972 GET http://o-o.preferred.fra02s05.v24.lscache1.c.youtube.com/videoplayback? - NONE/- text/html 1330586819.041      1 192.168.40.1 TCP_HIT/302 972 GET http://o-o.preferred.fra02s05.v24.lscache1.c.youtube.com/videoplayback? - NONE/- text/html 1330586819.041      0 192.168.40.1 TCP_HIT/302 972 GET http://o-o.preferred.fra02s05.v24.lscache1.c.youtube.com/videoplayback? - NONE/- text/html 1330586819.049      1 192.168.40.1 TCP_HIT/302 972 GET http://o-o.preferred.fra02s05.v24.lscache1.c.youtube.com/videoplayback? - NONE/- text/html 1330586819.049      0 192.168.40.1 TCP_HIT/302 972 GET http://o-o.preferred.fra02s05.v24.lscache1.c.youtube.com/videoplayback? - NONE/- text/html 1330586819.057      0 192.168.40.1 TCP_HIT/302 972 GET http://o-o.preferred.fra02s05.v24.lscache1.c.youtube.com/videoplayback? - NONE/- text/html 1330586819.058      0 192.168.40.1 TCP_HIT/302 972 GET http://o-o.preferred.fra02s05.v24.lscache1.c.youtube.com/videoplayback? - NONE/- text/html 1330586819.066      1 192.168.40.1 TCP_HIT/302 972 GET http://o-o.preferred.fra02s05.v24.lscache1.c.youtube.com/videoplayback? - NONE/- text/html 1330586819.066      0 192.168.40.1 TCP_HIT/302 972 GET http://o-o.preferred.fra02s05.v24.lscache1.c.youtube.com/videoplayback? - NONE/- text/html 1330586819.074      1 192.168.40.1 TCP_HIT/302 972 GET http://o-o.preferred.fra02s05.v24.lscache1.c.youtube.com/videoplayback? - NONE/- text/html 1330586819.074      0 192.168.40.1 TCP_HIT/302 972 GET http://o-o.preferred.fra02s05.v24.lscache1.c.youtube.com/videoplayback? - NONE/- text/html 1330586819.083      1 192.168.40.1 TCP_HIT/302 972 GET http://o-o.preferred.fra02s05.v24.lscache1.c.youtube.com/videoplayback? - NONE/- text/html 1330586819.083      0 192.168.40.1 TCP_HIT/302 972 GET http://o-o.preferred.fra02s05.v24.lscache1.c.youtube.com/videoplayback? - NONE/- text/html 1330586819.091      1 192.168.40.1 TCP_HIT/302 972 GET http://o-o.preferred.fra02s05.v24.lscache1.c.youtube.com/videoplayback? - NONE/- text/html 1330586819.091      0 192.168.40.1 TCP_HIT/302 972 GET http://o-o.preferred.fra02s05.v24.lscache1.c.youtube.com/videoplayback? - NONE/- text/html 1330586819.099      0 192.168.40.1 TCP_HIT/302 972 GET http://o-o.preferred.fra02s05.v24.lscache1.c.youtube.com/videoplayback? - NONE/- text/html 1330586819.099      0 192.168.40.1 TCP_HIT/302 972 GET http://o-o.preferred.fra02s05.v24.lscache1.c.youtube.com/videoplayback? - NONE/- text/html 1330586819.107      0 192.168.40.1 TCP_HIT/302 972 GET http://o-o.preferred.fra02s05.v24.lscache1.c.youtube.com/videoplayback? - NONE/- text/html 1330586819.107      0 192.168.40.1 TCP_HIT/302 972 GET http://o-o.preferred.fra02s05.v24.lscache1.c.youtube.com/videoplayback? - NONE/- text/html 1330586819.115      1 192.168.40.1 TCP_HIT/302 972 GET http://o-o.preferred.fra02s05.v24.lscache1.c.youtube.com/videoplayback? - NONE/- text/html 1330586819.115      0 192.168.40.1 TCP_HIT/302 972 GET http://o-o.preferred.fra02s05.v24.lscache1.c.youtube.com/videoplayback? - NONE/- text/html 1330586819.124      1 192.168.40.1 TCP_HIT/302 972 GET http://o-o.preferred.fra02s05.v24.lscache1.c.youtube.com/videoplayback? - NONE/- text/html 1330586819.124      0 192.168.40.1 TCP_HIT/302 972 GET http://o-o.preferred.fra02s05.v24.lscache1.c.youtube.com/videoplayback? - NONE/- text/html 1330586819.132      1 192.168.40.1 TCP_HIT/302 972 GET http://o-o.preferred.fra02s05.v24.lscache1.c.youtube.com/videoplayback? - NONE/- text/html 1330586819.132      0 192.168.40.1 TCP_HIT/302 972 GET http://o-o.preferred.fra02s05.v24.lscache1.c.youtube.com/videoplayback? - NONE/- text/html 1330586819.141      1 192.168.40.1 TCP_HIT/302 972 GET http://o-o.preferred.fra02s05.v24.lscache1.c.youtube.com/videoplayback? - NONE/- text/html 1330586819.141      0 192.168.40.1 TCP_HIT/302 972 GET http://o-o.preferred.fra02s05.v24.lscache1.c.youtube.com/videoplayback? - NONE/- text/html 1330586819.149      1 192.168.40.1 TCP_HIT/302 972 GET http://o-o.preferred.fra02s05.v24.lscache1.c.youtube.com/videoplayback? - NONE/- text/html 1330586819.149      0 192.168.40.1 TCP_HIT/302 972 GET http://o-o.preferred.fra02s05.v24.lscache1.c.youtube.com/videoplayback? - NONE/- text/html 1330586819.157      1 192.168.40.1 TCP_HIT/302 972 GET http://o-o.preferred.fra02s05.v24.lscache1.c.youtube.com/videoplayback? - NONE/- text/html 1330586819.157      0 192.168.40.1 TCP_HIT/302 972 GET http://o-o.preferred.fra02s05.v24.lscache1.c.youtube.com/videoplayback? - NONE/- text/html this is just sample of the access.log file, these requests are infinite, now when i activate the cache server these request are increased abnormally, the server is configured in intercept mode, when i connect to the server using manual configuration in the web browser (intercept mode disabled) the cache server work normally, so i thing it's iptables rules problem my iptables rule are first rule, for destination nat to convert traffic to port 3128 iptables -t nat -A PREROUTING -p tcp --dport 80 -j DNAT --to-destination 192.168.40.2:3128 and the second rule is for preventing forwarding loops in mangle table iptables -t mangle -A PREROUTING -p tcp --dport 3128 -j DROP i have one interface to the internet and to the clients using mikrotik dnat rule , so i don't need for MASQUERADE , and my default policy in the iptables tables is ACCEPT, i have a videocache pliguns to cache youtube videos, my squid is 3.1 and OS is ubuntu server thanks with my best regards  
Received on Thu Mar 01 2012 - 08:01:01 MST

This archive was generated by hypermail 2.2.0 : Thu Mar 01 2012 - 12:00:06 MST