Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Feb 2005 13:53:19 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        "Michael R. Hines" <mhines@cs.fsu.edu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: where is net.inet.udp.sendspace?
Message-ID:  <20050206215319.GA50607@xor.obsecurity.org>
In-Reply-To: <6.2.0.14.2.20050206075404.033686e8@garnet.acns.fsu.edu>
References:  <6.2.0.14.2.20050206075404.033686e8@garnet.acns.fsu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

--SUOF0GtieIMvvwua
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Feb 06, 2005 at 07:54:15AM -0500, Michael R. Hines wrote:
>=20
> On my 5.3-RELEASE system,   sysctl -a | grep net | grep space gives:
>=20
> net.local.stream.sendspace: 8192
> net.local.stream.recvspace: 8192
> net.local.dgram.recvspace: 4096
> net.inet.tcp.sendspace: 32768
> net.inet.tcp.recvspace: 65536
> net.inet.udp.recvspace: 42080
> net.inet.raw.recvspace: 8192
>=20
> Where is udp.sendspace?
>=20
> I'm having some UDP "No buffer space available" problems, but the precise=
=20
> sysctl variable corresponding to the problem doesn't seem to exist.
>=20
> Anyone else have this mysterious problem?

UDP is not buffered in the kernel like TCP is, so a sendspace sysctl
is not possible.  When the interface queue becomes full (i.e. you are
sending data to the interface at a greater rate than it can put it on
the wire), you will see this error message, and your application needs
to be able to handle it.

Kris

--SUOF0GtieIMvvwua
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCBpHOWry0BWjoQKURAvGoAJ97IX3JRBfPHRpTxgzuvE1bU/9zRgCg2TKL
GKNMJiar+MIz6y+6Ti6iOdU=
=BQ3a
-----END PGP SIGNATURE-----

--SUOF0GtieIMvvwua--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050206215319.GA50607>