Re: [squid-users] TCP_HIT and TCP_MISS

From: Chris Robertson <crobertson@dont-contact.us>
Date: Wed, 26 Mar 2008 11:57:34 -0800

Guillaume Chartrand wrote:
> I've downgrade my cache_mem to 100M
> cache_mem 100 MB
> I've modified the cache_dir
> cache_dir aufs /usr/local/squid/var/cache 2500 16 256
> cache_dir aufs /usr/local/squid/var/cache2 2500 16 256
>
> I've make a make clean on my src dir
> I've deleted all file and directory in my cache directory
> I make my mount point of my second disk to /usr/local/squid/var/cache2 and deleted my symlink to have direct access
> I recompile with this line
> ./configure --enable-storeio=aufs,null,ufs --with-large-files
> Make
> Make install
>
> I rerun squid with option -z to remake my directory
> After I run squid normally
>
> It's about 12 hours and that squid running and I don't have TCP_HIT
>
> I try to access a gif with 2 different browser on the same machine and here What I got in my access.log
> 1206545448.392 6413 172.20.51.11 TCP_MISS/200 596 GET http://www.nu.nl/img/balkje.gif - DIRECT/62.69.179.208 image/gif
> 1206545708.067 252 172.20.51.11 TCP_MISS/200 596 GET http://www.nu.nl/img/balkje.gif - DIRECT/62.69.184.229 image/gif
>
> So I don't know again what I misconfigured
>
> Thank
>

Have you solved the forwarding loop?

What is the output of "/usr/local/squid/bin/squidclient -s
http://www.nu.nl/img/balkje.gif && /usr/local/squid/bin/squidclient
http://www.nu.nl/img/balkje.gif" (run on the squid box)?

Chris
Received on Wed Mar 26 2008 - 13:57:51 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Apr 01 2008 - 13:00:05 MDT