This commit is contained in:
2025-05-21 11:33:48 +02:00
parent 48e0d762ec
commit e697896c18
2 changed files with 181 additions and 0 deletions

16
varnish/troubleshoot.md Normal file
View File

@@ -0,0 +1,16 @@
### Varnish replies with 503 status for no apparent reason
- Cause : Header receive from the backend are too big for the http_resp_hdr_len parameter.
- Resolve : Increase http_resp_hdr_len parameter live to confirm and in systemd service to make it permanent
```bash
ExecStart=/usr/sbin/varnishd \
-j unix,user=vcache \
-F \
-a 0.0.0.0:6081 \
-T localhost:6082 \
-f /etc/varnish/default.vcl \
-S /etc/varnish/secret \
-s malloc,3G \
-p http_resp_hdr_len=16384
```