[rhn-users] Proxy

Con Tassios ct at swin.edu.au
Fri Sep 3 03:41:59 UTC 2004


I have recently installed Red Hat Network Proxy Server 3.2, however it does not 
appear to be caching objects as I would expect.

The following Squid log shows the lha package being in the cache after the 
first transfer, but subsequent access sometimes results in a TCP_REFRESH_MISS 
rather than a TCP_HIT.

According to the Squid documentation, TCP_REFRESH_MISS is defined as "The 
object was in the cache, but STALE. An If-Modified-Since request was made and 
the reply contained new content".

squid.conf is RHN Proxy default, except maximum_object_size has been increased 
from 30000KB to 60000KB as some packages (kernel-source) are greater than the 
default.

What is going on here?


1094078761.095   2751 127.0.0.1 TCP_MISS/200 38189 GET http://127.0.0.1/XMLRPC/$RHN/rhel-i386-as-3/getPackage/lha-1.14i-10.4.i386.rpm - DIRECT/127.0.0.1 application/octet-stream
1094080474.021      1 127.0.0.1 TCP_HIT/200 38199 GET http://127.0.0.1/XMLRPC/$RHN/rhel-i386-as-3/getPackage/lha-1.14i-10.4.i386.rpm - NONE/- application/octet-stream
1094081999.036   5455 127.0.0.1 TCP_REFRESH_MISS/200 38189 GET http://127.0.0.1/XMLRPC/$RHN/rhel-i386-as-3/getPackage/lha-1.14i-10.4.i386.rpm - DIRECT/127.0.0.1 application/octet-stream
1094082629.078     19 127.0.0.1 TCP_HIT/200 38198 GET http://127.0.0.1/XMLRPC/$RHN/rhel-i386-as-3/getPackage/lha-1.14i-10.4.i386.rpm - NONE/- application/octet-stream
1094086693.738   6538 127.0.0.1 TCP_REFRESH_MISS/200 38189 GET http://127.0.0.1/XMLRPC/$RHN/rhel-i386-as-3/getPackage/lha-1.14i-10.4.i386.rpm - DIRECT/127.0.0.1 application/octet-stream
1094095661.113   4800 127.0.0.1 TCP_REFRESH_MISS/200 38189 GET http://127.0.0.1/XMLRPC/$RHN/rhel-i386-as-3/getPackage/lha-1.14i-10.4.i386.rpm - DIRECT/127.0.0.1 application/octet-stream
1094103878.866   3927 127.0.0.1 TCP_REFRESH_MISS/200 38189 GET http://127.0.0.1/XMLRPC/$RHN/rhel-i386-as-3/getPackage/lha-1.14i-10.4.i386.rpm - DIRECT/127.0.0.1 application/octet-stream
1094128989.687  10794 127.0.0.1 TCP_REFRESH_MISS/200 38189 GET http://127.0.0.1/XMLRPC/$RHN/rhel-i386-as-3/getPackage/lha-1.14i-10.4.i386.rpm - DIRECT/127.0.0.1 application/octet-stream
1094181242.220   3094 127.0.0.1 TCP_REFRESH_MISS/200 38189 GET http://127.0.0.1/XMLRPC/$RHN/rhel-i386-as-3/getPackage/lha-1.14i-10.4.i386.rpm - DIRECT/127.0.0.1 application/octet-stream





More information about the rhn-users mailing list