Search squid archive

PURGE not purging with memory_cache_shared on

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

 



Hi,

from what I have seen, with v3.3.8, PURGE method is not purging if
memory_cache_shared is on.

posting in pastebin 2 logs with the same requests

debug log with 1 worker /  memory_cache_shared on :

cache.log is here :
http://pastebin.archlinux.fr/467269


corresponding to these requests :
1375190125.156     12 ::1 TCP_MISS/200 1295 GET
http://bofip.impots.gouv.fr/bofip/1-PGP.html -
FIRSTUP_PARENT/10.154.61.1 text/html 1.1 30/Jul/2013:15:15:25 +0200
"-" "Wget/1.14 (linux-gnu)"
1375190127.367      2 ::1 TCP_MISS/200 255 PURGE
http://bofip.impots.gouv.fr/bofip/1-PGP.html - HIER_NONE/- - 1.0
30/Jul/2013:15:15:27 +0200 "-" "squidclient/3.3.8"
1375190130.735      2 ::1 TCP_MEM_HIT/200 1390 GET
http://bofip.impots.gouv.fr/bofip/1-PGP.html - HIER_NONE/- text/html
1.1 30/Jul/2013:15:15:30 +0200 "-" "Wget/1.14 (linux-gnu)"


this is wrong, because the purge request should have cleared the
object from the cache, so the last GET should be a MISS, but it is a
HIT

Now the same with memory_cache_shared off :

cache.log
http://pastebin.archlinux.fr/467270

corresponding to these requests :
1375190414.749     14 ::1 TCP_MISS/200 1295 GET
http://bofip.impots.gouv.fr/bofip/1-PGP.html -
FIRSTUP_PARENT/10.154.61.1 text/html 1.1 30/Jul/2013:15:20:14 +0200
"-" "Wget/1.14 (linux-gnu)"
1375190417.550      3 ::1 TCP_MISS/200 255 PURGE
http://bofip.impots.gouv.fr/bofip/1-PGP.html - HIER_NONE/- - 1.0
30/Jul/2013:15:20:17 +0200 "-" "squidclient/3.3.8"
1375190420.694     15 ::1 TCP_MISS/200 1295 GET
http://bofip.impots.gouv.fr/bofip/1-PGP.html -
FIRSTUP_PARENT/10.154.61.1 text/html 1.1 30/Jul/2013:15:20:20 +0200
"-" "Wget/1.14 (linux-gnu)"


this is right, because the purge request have cleared the object from
the cache, so the last GET is a MISS.



Guess I should file a bug on this.

Regards
Alex




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

  Powered by Linux