[squid-users] Squid not caching. Please help.

From: PARAM KRISH <mkparam_at_gmail.com>
Date: Sun, 12 May 2013 10:30:12 +0530

Hello

I have the squid running at port80 with the cache_peer on 443

I see there is only TCP_MISS/200 or TCP_MISS_ABORTED/200, I doubt
whether Squid is really caching of the pages.

1368334462 000179 10.56.101.197 TCP_MISS/200 4621 GET
http://wikid-dev.eng.domain.com/ - SOURCEHASH_PARENT/engwikiweb1dev
text/html
1368334492 000242 10.56.101.197 TCP_MISS/200 4621 GET
http://wikid-dev.eng.domain.com/ - SOURCEHASH_PARENT/engwikiweb1dev
text/html

Analysing the squid-internal-mgr shows ..something like this .. that
gives me a feeling that it caches only png files?

KEY A4C05546F054C963F60E83AB7F691CE7
STORE_OK IN_MEMORY SWAPOUT_NONE PING_NONE
SPECIAL,CACHABLE,VALIDATED
LV:1368333867 LU:1368333867 LM:1365163353 EX:-1
0 locks, 0 clients, 0 refs
Swap Dir -1, File 0XFFFFFFFF
GET http://wikid-dev.domain.com/squid-internal-static/icons/silk/film_key.png
inmem_lo: 0
inmem_hi: 1053
swapout: 0 bytes queued

KEY 2D01672F31BE2A63BF2563FC37C432C8
STORE_OK NOT_IN_MEMORY SWAPOUT_DONE PING_NONE
REVALIDATE,CACHABLE,DISPATCHED,VALIDATED
LV:1368265065 LU:1368265065 LM:1368194144 EX:1370857065
0 locks, 0 clients, 1 refs
Swap Dir 0, File 0X000009

KEY 09846EEBF4E045567A5FE301F0F24C6C
STORE_OK IN_MEMORY SWAPOUT_NONE PING_NONE
SPECIAL,CACHABLE,VALIDATED
LV:1368333867 LU:1368333867 LM:1365163353 EX:-1
0 locks, 0 clients, 0 refs
Swap Dir -1, File 0XFFFFFFFF
GET http://wikid-dev.domain.com/squid-internal-static/icons/silk/picture.png
inmem_lo: 0
inmem_hi: 824
swapout: 0 bytes queued
cache_store_log shows
1368334342.699 RELEASE -1 FFFFFFFF FCD06E1B1AB3B6BEF0BC8AD5D4F04D9C
200 1368334342 1368194177 1368334342 text/html -1/-505 GET
http://wikid-dev.eng.domain.com/
1368334372.653 RELEASE -1 FFFFFFFF 2D355F1E8F50FB487C85077838F16C4F
200 1368334372 1368194177 1368334372 text/html -1/-505 GET
http://wikid-dev.eng.domain.com/
1368334402.562 RELEASE -1 FFFFFFFF 4BA7AD9FCACE409B5505597981969600
200 1368334402 1368194177 1368334402 text/html -1/-505 GET
http://wikid-dev.eng.domain.com/
1368334432.646 RELEASE -1 FFFFFFFF 81F96406F0A22CE4AE629ABFBBEA512A
200 1368334432 1368194177 1368334432 text/html -1/-505 GET
http://wikid-dev.eng.domain.com/

Am i missing something in my config to make it work, or all is ok ?

Can someone clarify further please ?

First of all I am running F5's (Load Balancers) before squid hence i
cant make the squid work with 443 for f5's to forward the requests
which is
why i have f5 @443 forward requests to squid80, that goes to two
apache's at 443, they work fine functionally but when i check the logs
i get the feeling
that the cache is not being used in squid. Any comments ?

-PK
Received on Sun May 12 2013 - 05:00:19 MDT

This archive was generated by hypermail 2.2.0 : Sun May 12 2013 - 12:00:05 MDT