<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 11/12/15 12:35 PM, Antony Stone wrote:<br>
<span style="white-space: pre;">>>> I'm trying to set up a CDN-like frontend to our (bandwidth-constrained)
>>> master package repository. Everything seems to be working (including
>>> memory cache hits) except for some reason it does not seem to be
>>> caching/keeping large files.
> Define "large"?</span><br>
Sorry. To back up a little:<br>
<br>
squid version: 3.4.8-6+deb8u1 (debian jessie)<br>
<br>
With that config, I see memory hits to the cache, working fine.
However, if I try to download something that's a couple of MB, it
never writes to either cache directory.<br>
<br>
I get this in the store.log:<br>
<br>
<span style="white-space: pre;">> 1447350253.330 RELEASE -1 FFFFFFFF 41BD9B4385C540AB29F252B7B7DDF41C
> 200 1447350184 1447185078 1447954984 application/x-rpm 2368070/2368070
> GET
> <a class="moz-txt-link-freetext" href="http://uk-1.mirrors.opennms.org:3128/yum/stable/common/opennms/opennms-jmx-config-generator-16.0.4-1.noarch.rpm">http://uk-1.mirrors.opennms.org:3128/yum/stable/common/opennms/opennms-jmx-config-generator-16.0.4-1.noarch.rpm</a></span><br>
...and this in the access.log:<br>
<br>
<span style="white-space: pre;">> 1447350253.330 70000 2606:a000:45e2:1200:f0cb:6c0a:1e57:68bd
> TCP_MISS/200 2368590 GET
> <a class="moz-txt-link-freetext" href="http://uk-1.mirrors.opennms.org:3128/yum/stable/common/opennms/opennms-jmx-config-generator-16.0.4-1.noarch.rpm">http://uk-1.mirrors.opennms.org:3128/yum/stable/common/opennms/opennms-jmx-config-generator-16.0.4-1.noarch.rpm</a>
> - TIMEOUT_FIRSTUP_PARENT/108.169.150.249 application/x-rpm</span><br>
On a second hit, I get the same thing, RELEASE and TCP_MISS.<br>
<br>
<span style="white-space: pre;">>>> Attached is my configuration. Is there something obvious that I'm missing?
>>> maximum_object_size 600 MB
> I assume you don't mean "it's not caching stuff bigger than 600 Mb" </span><br>
Hah, no. The goal is to cache the most popular RPM and Debian
packages and to spread the load out geographically. Most of them
are somewhere between 20-300MB. Unfortunately, right now it seems to
only cache what fits in memory.<br>
<br>
<br>
<br>
<br>
<br>
<br>
Also, sorry, just noticed this after I'd already reply-all'd:<br>
<br>
<span style="white-space: pre;">> Please reply to the list;
> please *don't* CC me.</span><br>
<br>
I won't do it again... :/<br>
<br>
<br>
</body>
</html>