Search squid archive

Re: TCP_HIT and TCP_MISS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux