Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Commit

Permalink
1202: varnish default http header length is measured in bytes, not ch…
Browse files Browse the repository at this point in the history
…aracters
  • Loading branch information
jeff-matthews committed Jun 16, 2017
1 parent d7805a1 commit 5705c6d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion guides/v2.0/config-guide/varnish/tshoot-varnish-503.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ version: 2.0
github_link: config-guide/varnish/tshoot-varnish-503.md
---

If the length of {% glossarytooltip 0bc9c8bc-de1a-4a06-9c99-a89a29c30645 %}cache{% endglossarytooltip %} tags used by Magento exceed Varnish's default of 8192 characters, you can see HTTP 503 (Backend Fetch Failed) errors in the browser. The errors might display similar to the following:
If the length of {% glossarytooltip 0bc9c8bc-de1a-4a06-9c99-a89a29c30645 %}cache{% endglossarytooltip %} tags used by Magento exceed Varnish's default (8K), you can see HTTP 503 (Backend Fetch Failed) errors in the browser. The errors might display similar to the following:

Error 503 Backend fetch failed
Backend fetch failed
Expand Down
12 changes: 6 additions & 6 deletions guides/v2.2/config-guide/varnish/tshoot-varnish-503.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ github_link: config-guide/varnish/tshoot-varnish-503.md

## Backend Fetch Failed errors

If the length of {% glossarytooltip 0bc9c8bc-de1a-4a06-9c99-a89a29c30645 %}cache{% endglossarytooltip %} tags used by Magento exceed Varnish's default of 8192 characters, you can see HTTP 503 (Backend Fetch Failed) errors in the browser. The errors might display similar to the following:
If the length of {% glossarytooltip 0bc9c8bc-de1a-4a06-9c99-a89a29c30645 %}cache{% endglossarytooltip %} tags used by Magento exceed Varnish's default (8K), you can see HTTP 503 (Backend Fetch Failed) errors in the browser. The errors might display similar to the following:

Error 503 Backend fetch failed
Backend fetch failed

To resolve this issue, increase the default value of the `http_resp_hdr_len` parameter in your Varnish configuration file. The `http_resp_hdr_len` parameter specifies the max header length _within_ the total default response size (32K).
To resolve this issue, increase the default value of the `http_resp_hdr_len` parameter in your Varnish configuration file. The `http_resp_hdr_len` parameter specifies the max header length _within_ the total default response size (32K).

<div class="bs-callout bs-callout-info" id="info">
<span class="glyphicon-class">
<p>If the `http_resp_hdr_len` value exceeds 32K, you must also increase the default response size using the `http_resp_size` parameter.</p></span>
</div>
<div class="bs-callout bs-callout-info" id="info">
<span class="glyphicon-class">
<p>If the `http_resp_hdr_len` value exceeds 32K, you must also increase the default response size using the `http_resp_size` parameter.</p></span>
</div>

1. As a user with `root` privileges, open your Vanish configuration file in a text editor:

Expand Down

0 comments on commit 5705c6d

Please sign in to comment.