omarchy/migrations/1755244361.sh
Lewis Buckley 3e4597b89c
Set net.ipv4.tcp_mtu_probing to 2
> Forces every new TCP socket to begin at a
> conservative MSS
> (min(path MTU, 1024 bytes) – 40).
> Immediately sends progressively larger probes
> and raises the MSS as soon as they’re ACKed.

This has been found to solve very slow deploys
with Tailscale, Kamal and our internal Docker
registry.
2025-08-20 12:34:57 +01:00

2 lines
101 B
Bash

sudo sed -i 's/^net.ipv4.tcp_mtu_probing=1/net.ipv4.tcp_mtu_probing=2/' /etc/sysctl.d/99-sysctl.conf