Skip to content

Keep large responses from stalling on VPC networks - #452

Merged
scotwells merged 1 commit into
mainfrom
fix/default-network-mtu-1440
Sep 13, 2026
Merged

scotwells merged 1 commit into
mainfrom
fix/default-network-mtu-1440

Conversation

@scotwells

@scotwells scotwells commented Sep 13, 2026

Copy link
Copy Markdown
Contributor

Large responses from Instances on a VPC network can stall: the headers arrive, but the body never does, and nothing reports an error. The provider underlay silently drops packets sized for today's default MTU of 1460. New Networks now default to 1440, the largest size proven to deliver in staging.

Existing Networks keep the MTU they already have, and a running Instance picks up a new value only when it is recreated.

For general-purpose Instances, this takes effect together with datum-cloud/galactic#533. Related: datum-cloud/galactic#532.

1440 was measured on one provider's network. A path with more overhead may need a lower value.

🤖 Generated with Claude Code

Encapsulated traffic between locations adds a 40-byte outer IPv6 header.
Measured on a staging cell, inner packets larger than 1440 bytes are
silently dropped by the provider underlay with no Packet Too Big, so
connections carrying large responses hang. Networks created from now on
default to 1440; existing Networks keep their persisted value.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@scotwells
scotwells requested review from ecv and privateip September 13, 2026 00:31
@scotwells scotwells changed the title New Networks now default to an MTU of 1440 instead of 1460, so Instances stop sending packets that the provider underlay silently drops. Today a large response from an Instance on a VPC network can hang: the headers arrive, but the body never does, and there is no error to explain why. Keep large responses from stalling on VPC networks Sep 13, 2026
@scotwells
scotwells merged commit d25f6ec into main Sep 13, 2026
14 checks passed
@scotwells
scotwells deleted the fix/default-network-mtu-1440 branch September 13, 2026 00:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants