|
1 | 1 | --- |
2 | 2 | myst: |
3 | 3 | html_meta: |
4 | | - description: Learn how to investigate and resolve Varnish errors on Hypernode by checking NGINX and Varnish logs, identifying header and workspace issues, and applying the correct buffer and workspace settings. |
| 4 | + description: Learn how to investigate and resolve Varnish errors on Hypernode by checking NGINX and Varnish logs, |
| 5 | + identifying header and workspace issues, and applying the correct buffer and workspace settings. |
5 | 6 | title: Investigating Varnish errors on Hypernode |
6 | 7 | --- |
7 | 8 |
|
@@ -120,26 +121,9 @@ varnishlog -q "BerespStatus == 503" |
120 | 121 |
|
121 | 122 | If errors continue, consider gradually increasing the workspace values further (e.g., `512k` for `varnish_workspace_backend`). |
122 | 123 |
|
123 | | ---- |
124 | | - |
125 | | -## Summary |
126 | | - |
127 | | -| Error | Logged in | Root cause | Fix | |
128 | | -|---|---|---|---| |
129 | | -| **502** | `/var/log/nginx/error.log` | Nginx buffer too small for response headers from Varnish | Add `~/nginx/server.header_buffer` with increased buffer settings | |
130 | | -| **503** | `/var/log/nginx/access.log` + `varnishlog` | Varnish backend workspace too small | Increase `varnish_workspace_backend` (and optionally `varnish_http_resp_hdr_len` / `varnish_http_resp_size`) via `hypernode-systemctl` | |
131 | | - |
132 | | -## Additional Information |
133 | | - |
134 | | -| Setting | Description | Default | Recommended | |
135 | | -|---|---|---|---| |
136 | | -| `varnish_workspace_backend` | Memory allocated for processing backend responses | `64k` | `256k`+ | |
137 | | -| `varnish_http_resp_hdr_len` | Maximum size of a single response header | `8k` | `8k`–`16k` | |
138 | | -| `varnish_http_resp_size` | Maximum total size of all response headers | `32k` | `32k`–`64k` | |
139 | | - |
140 | 124 | If the problem persists after applying these fixes, contact support for further assistance. |
141 | 125 |
|
142 | | -For more information about Varnish configuration and tuning, see our |
143 | | -[documentation on improving Varnish hit rate](https://docs.hypernode.com/hypernode-platform/varnish/improving-varnish-hit-rate-on-hypernode.html) |
144 | | -and the official |
| 126 | +```{information} |
| 127 | +For more information about Varnish configuration and tuning, see our [documentation on improving Varnish hit rate](https://docs.hypernode.com/hypernode-platform/varnish/improving-varnish-hit-rate-on-hypernode.html) and the official |
145 | 128 | [Varnish documentation](https://varnish-cache.org/docs/). |
| 129 | +``` |
0 commit comments