Search squid archive

Re: Questions regarding "store-id" made by helper and log system

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

 



Hi Alex,

Thanks for your quick answer.

> For a more complete picture, I would test with four sequential requests, two with one URL and two with another.

I get a HIT for the two request when i retry each one which let me think than the store-id computed is not the one from the helper but the plain url.

I also tried to force each request to go through my helper with " store_id_bypass off"
When I do that performance go dramatically down (i have around 400 users behind squid).

>That is one of many possibilities. Your best bet may be to examine Squid debugging log to understand whether the right Store ID is computed for each request and, if yes, why the second request misses. See debug_options in squid.conf.documented.
>If setting debug_options to "ALL,7" overwhelms you with noise, try something like "ALL,3 33,7 47,7 61,7 85,7". If you cannot figure it out, then use "ALL,9" and share a pointer to compressed cache.log containing just the two transactions (to start with).

Ok i will try these settings, i let you know.

BR,

Thomas PALFRAY

-----Message d'origine-----
De : Alex Rousskov <rousskov@xxxxxxxxxxxxxxxxxxxxxxx> 
Envoyé : vendredi 11 décembre 2020 18:01
À : Thomas PALFRAY <tpal@xxxxxxxx>; squid-users@xxxxxxxxxxxxxxxxxxxxx
Objet : Re:  Questions regarding "store-id" made by helper and log system

On 12/11/20 1:42 AM, Thomas PALFRAY wrote:

> When i call the first request of my example of output help, then the 
> second, i get a MISS.

For a more complete picture, I would test with four sequential requests, two with one URL and two with another.


> I suppose that there's not using the same store-id.

That is one of many possibilities. Your best bet may be to examine Squid debugging log to understand whether the right Store ID is computed for each request and, if yes, why the second request misses. See debug_options in squid.conf.documented.

If setting debug_options to "ALL,7" overwhelms you with noise, try something like "ALL,3 33,7 47,7 61,7 85,7". If you cannot figure it out, then use "ALL,9" and share a pointer to compressed cache.log containing just the two transactions (to start with).


HTH,

Alex.
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




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

  Powered by Linux