SIze Limitation Problems????

Victor Cheng victor.cheng at paperg.com
Mon Jun 18 22:13:01 CEST 2012


Along the lines of what Hugo said -- definitely check the parameters he
mentioned.

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.

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.

-Victor

On Mon, Jun 18, 2012 at 12:45 PM, Larry Hoffman <Larry.Hoffman at trivantis.com
> wrote:

> Hey Victor,
>
> here is what I had in the varnish file:
>
> DAEMON_OPTS="-a :80 \
>              -T localhost:6082 \
>              -f /etc/varnish/default.vcl \
>              -S /etc/varnish/secret \
>              -s file,/var/lib/varnish/$INSTANCE/varnish_storage.bin,100G"
>
> Then I changed it too:
>
> DAEMON_OPTS="-a :80 \
>              -T localhost:6082 \
>              -f /etc/varnish/default.vcl \
>              -S /etc/varnish/secret \
>              -s file,/var/lib/varnish/$INSTANCE/varnish_storage.bin,900M"
>
> Is there another setting I need to set.
>
> Thanks
>   Larry
>
>
> Larry Hoffman |
> Trivantis Corporation
> Direct: 513.852-6843
> Larry.Hoffman at Trivantis.com <Peter.Bray at Trivantis.com> | www.trivantis.com
>
> On Jun 18, 2012, at 3:11 PM, Victor Cheng wrote:
>
> Have you checked your Varnish cache size? Perhaps it's too small to fit
> the full file (default in Ubuntu may be 512M)
>
> On Mon, Jun 18, 2012 at 11:50 AM, Larry Hoffman <
> Larry.Hoffman at trivantis.com> wrote:
>
>> Hey Guys,
>>
>> wanted to ask if you guys ran into this issue.
>>
>> A little background first:
>>
>> I'm running apache 2.2.14 (Ubuntu) Server with drupal 6.22.
>>
>> I installed varnish ( I believe it's version 1.1, not sure).
>>
>> Varnish seems to be working and caching the files.
>>
>> We have a download folder under the documents root with out exe products.
>>
>> These files are 885M or greater in size.
>>
>> These larger files are not be served by varnish.
>>
>> I uploaded an 18M exe file and that one downloads just fine.
>>
>> Any idea????
>>
>> Thanks
>>  Larry
>>
>>
>>
>>
>> _______________________________________________
>> varnish-misc mailing list
>> varnish-misc at varnish-cache.org
>> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20120618/2499d967/attachment.html>


More information about the varnish-misc mailing list