<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">You bring up a good point about not caching these files.<div><br></div><div>How would I do that?</div><div><br></div><div>Thanks</div><div>  Larry</div><div><br></div><div><br><div><div>On Jun 18, 2012, at 4:13 PM, Victor Cheng wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">Along the lines of what Hugo said -- definitely check the parameters he mentioned.<div><br></div><div>As for the change you made to adjust the size -- the 100G is probably more what you want in this particular case (assuming your hard drive is actually bigger than this), since you might have files over 900M? However, it doesn't especially make sense to cache these huge files unless you have multiple servers around the world and you need to have the cached files for latency reasons.</div>
<div><br></div><div>Anyway, if it's still not working after tuning the parameters Hugo suggested, perhaps you could post more information about the exact issue. Like how can you tell the larger files are not being served by Varnish? Is it never making it into the object cache? Or are things timing out and the file not even being delivered etc. It would probably be most helpful to narrow down the point at which it actually fails.</div>
<div><br></div><div>-Victor<br><br><div class="gmail_quote">On Mon, Jun 18, 2012 at 12:45 PM, Larry Hoffman <span dir="ltr"><<a href="mailto:Larry.Hoffman@trivantis.com" target="_blank">Larry.Hoffman@trivantis.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div class="im">Hey Victor,<div><br></div><div>here is what I had in the varnish file:</div>
<div><br></div><div><div>DAEMON_OPTS="-a :80 \</div><div>             -T localhost:6082 \</div><div>             -f /etc/varnish/default.vcl \</div><div>             -S /etc/varnish/secret \</div><div>             -s file,/var/lib/varnish/$INSTANCE/varnish_storage.bin,100G"</div>
<div><div><br>Then I changed it too:</div><div><br></div><div><div>DAEMON_OPTS="-a :80 \</div><div>             -T localhost:6082 \</div><div>             -f /etc/varnish/default.vcl \</div><div>             -S /etc/varnish/secret \</div>
<div>             -s file,/var/lib/varnish/$INSTANCE/varnish_storage.bin,900M"</div></div><div><br></div><div>Is there another setting I need to set.</div><div><br></div><div>Thanks</div><div>  Larry</div></div></div>
</div><span class="HOEnZb"><font color="#888888"><div>
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div>
<br><br></div><div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 13px/normal Calibri"><span style="letter-spacing:0px">Larry Hoffman | </span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 13px/normal Calibri">
<span style="letter-spacing:0px">Trivantis Corporation</span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 13px/normal Calibri"><span style="letter-spacing:0px">Direct: <a href="tel:513.852-6843" value="+15138526843" target="_blank">513.852-6843</a></span></div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 13px/normal Calibri;color:rgb(40,0,172)"><span style="text-decoration:underline;letter-spacing:0px"><a href="mailto:Peter.Bray@Trivantis.com" target="_blank">Larry.Hoffman@Trivantis.com</a></span><span style="letter-spacing:0px;color:rgb(0,0,0)"> | <a href="http://www.trivantis.com/" target="_blank"><span style="text-decoration:underline;letter-spacing:0px">www.trivantis.com</span></a></span></div>
</div></span>
</div>
<br></font></span><div><div class="im"><div>On Jun 18, 2012, at 3:11 PM, Victor Cheng wrote:</div><br></div><div><div class="h5"><blockquote type="cite">Have you checked your Varnish cache size? Perhaps it's too small to fit the full file (default in Ubuntu may be 512M)<br>
<br><div class="gmail_quote">On Mon, Jun 18, 2012 at 11:50 AM, Larry Hoffman <span dir="ltr"><<a href="mailto:Larry.Hoffman@trivantis.com" target="_blank">Larry.Hoffman@trivantis.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey Guys,<br>
<br>
wanted to ask if you guys ran into this issue.<br>
<br>
A little background first:<br>
<br>
I'm running apache 2.2.14 (Ubuntu) Server with drupal 6.22.<br>
<br>
I installed varnish ( I believe it's version 1.1, not sure).<br>
<br>
Varnish seems to be working and caching the files.<br>
<br>
We have a download folder under the documents root with out exe products.<br>
<br>
These files are 885M or greater in size.<br>
<br>
These larger files are not be served by varnish.<br>
<br>
I uploaded an 18M exe file and that one downloads just fine.<br>
<br>
Any idea????<br>
<br>
Thanks<br>
  Larry<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
varnish-misc mailing list<br>
<a href="mailto:varnish-misc@varnish-cache.org" target="_blank">varnish-misc@varnish-cache.org</a><br>
<a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc" target="_blank">https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a><br>
</blockquote></div><br>
</blockquote></div></div></div><br></div></blockquote></div><br></div>
</blockquote></div><br></div></body></html>