Skip to content

feat(fastly): Allow adjust max_conn#448

Merged
bkochendorfer merged 2 commits intomainfrom
fastly-tf-adjust-max-conn
Mar 18, 2026
Merged

feat(fastly): Allow adjust max_conn#448
bkochendorfer merged 2 commits intomainfrom
fastly-tf-adjust-max-conn

Conversation

@bkochendorfer
Copy link
Member

Description

We are seeing Fastly errors with max_conn, need to be able to adjust this for high throughput services.

HTTP/2 503
content-type: text/html; charset=utf-8
via: 1.1 varnish, 1.1 varnish
accept-ranges: bytes
retry-after: 0
server: Varnish
date: Wed, 18 Mar 2026 13:52:35 GMT
x-served-by: cache-bfi-kbfi7400023-BFI, cache-bfi-kbfi7400023-BFI
x-cache: MISS, MISS
x-cache-hits: 0, 0
x-timer: S1773841955.060108,VS0,VE26
content-length: 470

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
  <head>
    <title>503 Backend.max_conn reached</title>
  </head>
  <body>
    <h1>Error 503 Backend.max_conn reached</h1>
    <p>Backend.max_conn reached</p>
    <h3>Error 54113</h3>
    <p>Details: cache-bfi-kbfi7400023-BFI 1773841955 1100143237</p>
    <hr>
    <p>Varnish cache server</p>
  </body>
</html>

We are seeing Fastly errors with `max_conn`, need to be able to adjust
this for high throughput services.

```bash
HTTP/2 503
content-type: text/html; charset=utf-8
via: 1.1 varnish, 1.1 varnish
accept-ranges: bytes
retry-after: 0
server: Varnish
date: Wed, 18 Mar 2026 13:52:35 GMT
x-served-by: cache-bfi-kbfi7400023-BFI, cache-bfi-kbfi7400023-BFI
x-cache: MISS, MISS
x-cache-hits: 0, 0
x-timer: S1773841955.060108,VS0,VE26
content-length: 470

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
  <head>
    <title>503 Backend.max_conn reached</title>
  </head>
  <body>
    <h1>Error 503 Backend.max_conn reached</h1>
    <p>Backend.max_conn reached</p>
    <h3>Error 54113</h3>
    <p>Details: cache-bfi-kbfi7400023-BFI 1773841955 1100143237</p>
    <hr>
    <p>Varnish cache server</p>
  </body>
</html>
```

(cherry picked from commit 077be02)
@bkochendorfer bkochendorfer added the minor This PR will increment a minor version label Mar 18, 2026
@github-actions
Copy link
Contributor

Release plan

Directory Previous version New version
google_fastly_waf 2.18.0 2.19.0

jasonthomas
jasonthomas previously approved these changes Mar 18, 2026
grahamalama
grahamalama previously approved these changes Mar 18, 2026
@bkochendorfer bkochendorfer dismissed stale reviews from grahamalama and jasonthomas via e17c770 March 18, 2026 14:26
@bkochendorfer bkochendorfer merged commit b286a05 into main Mar 18, 2026
10 checks passed
@bkochendorfer bkochendorfer deleted the fastly-tf-adjust-max-conn branch March 18, 2026 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

minor This PR will increment a minor version

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants