Hi all ¡ Has somebody already noticed that the Uyuni Squid just does not seems to cache the *.deb packages ? A simple test downloading several times in a raw from an Ubuntu registered server a 91KB package size ends up with a TCP_MISS: 10.264 242 127.0.0.1 TCP_MISS/200 91356 GET http://proxy_uyuni /rhn/manager/download/ubuntu-1804-amd64-main-security-uyuni/getPackage/gzip_1.6-5ubuntu1.2.amd64-deb.deb<http://proxy_uyuni.cms.colt/rhn/manager/download/ubuntu-1804-amd64-main-security-uyuni/getPackage/gzip_1.6-5ubuntu1.2.amd64-deb.deb> - HIER_DIRECT/10.206.29.108 application/octet-stream 1650464072.536 310 127.0.0.1 TCP_MISS/200 91356 GET http://proxy_uyuni /rhn/manager/download/ubuntu-1804-amd64-main-security-uyuni/getPackage/gzip_1.6-5ubuntu1.2.amd64-deb.deb<http://proxy_uyuni.cms.colt/rhn/manager/download/ubuntu-1804-amd64-main-security-uyuni/getPackage/gzip_1.6-5ubuntu1.2.amd64-deb.deb> - HIER_DIRECT/10.206.29.108 application/octet-stream 1650464272.667 171 127.0.0.1 TCP_MISS/200 91356 GET http://proxy_uyuni /rhn/manager/download/ubuntu-1804-amd64-main-security-uyuni/getPackage/gzip_1.6-5ubuntu1.2.amd64-deb.deb<http://proxy_uyuni.cms.colt/rhn/manager/download/ubuntu-1804-amd64-main-security-uyuni/getPackage/gzip_1.6-5ubuntu1.2.amd64-deb.deb> - HIER_DIRECT/10.206.29.108 application/octet-stream Should not be the case from the Squid's configuration: cache_mem 400 MB maximum_object_size 200 MB maximum_object_size_in_memory 1024 KB ... # rpm will hardly ever change, force to cache it for very long time refresh_pattern \.rpm$ 10080 100% 525960 override-expire override-lastmod ignore-reload reload-into-ims refresh_pattern \.deb$ 10080 100% 525960 override-expire override-lastmod ignore-reload reload-into-ims refresh_pattern . 0 100% 525960 The RPM are correctly cached it seems: access.log:1650178125.754 0 127.0.0.1 TCP_MEM_HIT/200 154067 GET http://proxy_uyuni/rhn/manager/download/rockylinux8-x86_64/getPackage/1/a69d... - HIER_NONE/- application/octet-stream Am I missing something here ? Thanks ! Philippe. Philippe Bidault | Unix Engineer | Getronics ________________________________ M. 34617301667 | E. Philippe.Bidault@Getronics.com | W. www.getronics.com<http://www.getronics.com> Follow us on: [cid:SocialLink_Linkedin_32x32_e7c75ee5-f8bf-4d58-979b-3050856d34e9.png]<https://www.linkedin.com/company/getronics/> [cid:SocialLink_Twitter_32x32_cb75fe15-abe1-46a3-9ac3-fc99d077e43b.png] <https://twitter.com/getronics> [cid:SocialLink_Youtube_32x32_1946f212-29cc-40bc-9061-3536027a9813.png] <https://www.youtube.com/channel/UCfEFIFxLdxxhMN-Eaa6pXVA> <https://twitter.com/getronics> Getronics CMC Service Desk Iberia S.L - VAT No:S.L.: B66686262. Registered Office - Getronics CMC Service Desk Iberia S.L, C/Rosselloi, Porcel, 21 planta 11, 08016 Barcelona, Spain. The information transmitted is intended only for use by the addressee and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of it, or the taking of any action in reliance upon this information by persons and/or entities other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material. Thank you. Legal disclaimer: http://www.getronics.com/legal/ and further details of how we treat your personal data can be found in our privacy policy<https://www.getronics.com/policy-pages/corporate-policy-legal-disclaimer/>
participants (1)
-
Bidault, Philippe