Re: network outages

"Greg A. Woods" <[email protected]> Sat, 21 Mar 2026 16:02:11 -0700
Newsgroups gmane.os.netbsd.current
Organization Planix, Inc.
Message-ID <[email protected]>
At Sat, 21 Mar 2026 22:16:29 -0000 (UTC), [email protected] (Michael van Elst) wrote:
Subject: Re: network outages
>
> [email protected] ("Greg A. Woods") writes:
>
> >Isn't the simplest to just make kern.sbmax the right size for the
> >largest given {send,recv}buf_max value?
>
> It's a limit for all socket buffers, not just TCP. And other protocols
> don't have their own "max" values to look at.

I figured as much, but

Surely it could be auto-tuned up if a net.inet.tcp.sendbuf_max value
would bump into it before reaching its own max, and definitely if a
sendspace value exceeds it?

It seems horrible for the network stack to fail to open a TCP connection
if the tuning is wrong, and surely other protocols won't mind if it is
bigger than they need.

--
					Greg A. Woods <[email protected]>

Kelowna, BC     +1 250 762-7675           RoboHack <[email protected]>
Planix, Inc. <[email protected]>     Avoncote Farms <[email protected]>
signature.asc (application/pgp-signature, 195 B)
-----BEGIN PGP SIGNATURE-----

iF0EABECAB0WIQRuK6dmwVAucmRxuh9mfXG3eL/0fwUCab8jcwAKCRBmfXG3eL/0
f5A+AJ4516HYcoLn66vWm2XwDGU6LXjLxwCgpN83TcUG2VrFrJxTNTybOTJFJmM=
=jvZf
-----END PGP SIGNATURE-----