How to check if a file is being delivered from SUSE Manager Proxy Squid Cache
This document (000021677) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Manager Proxy 4.3
SUSE Manager Proxy 5.1
Situation
A system admin wishes to verify whether the SUSE Manager Proxy Squid Cache delivered a file or if the file is not present in the Cache.
Resolution
The /var/log/squid/access.log
can be checked to monitor the status of requested files. The three main statuses are:
-
TCP_MISS
: The file is not in the Squid cache and must be retrieved from the SUSE Manager Server or SUSE Manager Proxy. -
TCP_MEM_HIT
: The file is being delivered from the Squid memory cache. -
TCP_HIT
: The file is being delivered from the Squid cache.
The following are examples of the statuses mentioned above:
1737544214.503 3448 127.0.0.1 TCP_MISS/200 118837937 GET http://*****/kernel-default-6.4.0-150600.23.17.1.x86_64.rpm - HIER_DIRECT/IP.IP.IP.IP application/octet-stream
1737544242.855 2600 127.0.0.1 TCP_HIT/200 118837639 GET http://*****/kernel-default-6.4.0-150600.23.17.1.x86_64.rpm - HIER_NONE/- application/octet-stream
1737544272.354 1 127.0.0.1 TCP_MEM_HIT/200 110097 GET http://*****/aaa_base-84.87+git20180409.04c9dae-150300.10.23.1.x86_64.rpm - HIER_NONE/- application/octet-stream
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:000021677
- Creation Date: 22-Jan-2025
- Modified Date:23-Jan-2025
-
- SUSE Manager
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com