Jim,<div><br></div><div>Make sure you adjust the new run time http_req_hdr_len and http_resp_hdr_len if you're site (or clients) send large headers. We discovered that our headers were averaging 8-12kb which is 2-3x the default 4096 bytes. </div>
<div><br></div><div>That was a tricky one for us to sort out since only certain clients had the large cookie headers and the 413 errors were intermittent in varnishlog.</div><div><br></div><div>Lee<br><br><div class="gmail_quote">
2012/2/17 kokoniimasu <span dir="ltr"><<a href="mailto:kokoniimasu@gmail.com">kokoniimasu@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Jim,<br>
<br>
you're working varnish is 2.0.5? 2.1.5?<br>
<br>
if varnish is 2.0.X. refer to this url.(sorry Japanese. but I put an<br>
English comment)<br>
<br>
  <a href="http://wiki.xcir.net/index.php?title=Versuin2.0.x%E2%86%922.1.x%E3%81%B8%E3%81%AEVUP" target="_blank">http://wiki.xcir.net/index.php?title=Versuin2.0.x%E2%86%922.1.x%E3%81%B8%E3%81%AEVUP</a><br>
<div class="im HOEnZb"><br>
--<br>
Syohei Tanaka(@xcir)<br>
<a href="http://xcir.net/" target="_blank">http://xcir.net/</a><br>
<br>
(:3[__])<br>
<br>
<br>
2012年2月18日2:37 Jim Hayter <<a href="mailto:jim.hayter@gmail.com">jim.hayter@gmail.com</a>>:<br>
</div><div class="HOEnZb"><div class="h5">> I am working on upgrading from Varnish 2.0.5 running on Ubuntu 9.10 to<br>
> Varnish 3.0.0 running on Ubuntu 11.10.<br>
><br>
> I have a few questions based on my reading of<br>
> <a href="https://www.varnish-cache.org/trac/browser/doc/changes.rst" target="_blank">https://www.varnish-cache.org/trac/browser/doc/changes.rst</a><br>
><br>
> 1) Changes from 2.1.5 to 3.0 beta 1 states:<br>
><br>
>   - The -l (shared memory log file) argument has been changed, please<br>
> see the varnishd manual for the new syntax.<br>
>     'man varnishd' for 2.0.5 states:<br>
><br>
>     -l shmlogsize<br>
>                 Specify size of shmlog file.  Scaling suffixes like 'k', 'm'<br>
>                 can be used up to (e)tabytes.  Default is 80 Megabytes.<br>
>                 Specifying less than 8 Megabytes is unwise.<br>
><br>
>    'man varnishd' for 3.0.0 states the same thing.  And it appears to<br>
> be working.  What changed?<br>
><br>
><br>
> 2) I'm also a bit confused by this code in vcl_fetch:<br>
><br>
>    if (beresp.ttl <= 0s ||<br>
>        beresp.http.Set-Cookie ||<br>
>        beresp.http.Vary == "*") {<br>
>        /*<br>
>         * Mark as "Hit-For-Pass" for the next 2 minutes<br>
>         */<br>
>        set beresp.ttl = 120 s;<br>
>        return (hit_for_pass);<br>
>    }<br>
><br>
>    What is the purpose of "set beresp.ttl = 120 s;" ?  So, the<br>
> purpose is to mark as "Hit-For-Pass" for 2 minutes, but why is this<br>
> done (what does it accomplish)?<br>
><br>
> 3) I've noted that a number of the parameter values I used to set have<br>
> become defaults.  I also noted the change to make thread_pool_min and<br>
> thread_pool_max agree better.  Aside from these and some other changes<br>
> (purge to ban, obj to beresp), are there particular changes I should<br>
> look at closely to avoid problems when I update?<br>
><br>
> 4) Is there additional doc I should review (besides<br>
> <a href="https://www.varnish-cache.org/trac/browser/doc/changes.rst" target="_blank">https://www.varnish-cache.org/trac/browser/doc/changes.rst</a>) that would<br>
> help me avoid problems and understand what has changed?<br>
><br>
> Thanks for any suggestions.<br>
><br>
> Jim<br>
><br>
> _______________________________________________<br>
> varnish-misc mailing list<br>
> <a href="mailto:varnish-misc@varnish-cache.org">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>
<br>
_______________________________________________<br>
varnish-misc mailing list<br>
<a href="mailto:varnish-misc@varnish-cache.org">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>
</div></div></blockquote></div><br></div>