From owner-freebsd-questions@FreeBSD.ORG Sun Feb 6 22:16:09 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D573616A4CE for ; Sun, 6 Feb 2005 22:16:09 +0000 (GMT) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id AFAA643D1F for ; Sun, 6 Feb 2005 22:16:09 +0000 (GMT) (envelope-from mhines@cs.fsu.edu) Received: from beethoven.cs.fsu.edu (pcp09078029pcs.mkethn01.fl.comcast.net[69.240.101.248]) by comcast.net (rwcrmhc12) with SMTP id <20050206221608014003ddqee>; Sun, 6 Feb 2005 22:16:09 +0000 Message-Id: <6.2.0.14.2.20050206171551.033d9bd8@mail.cs.fsu.edu> X-Mailer: QUALCOMM Windows Eudora Version 6.2.0.14 Date: Sun, 06 Feb 2005 17:16:08 -0500 To: freebsd-questions@freebsd.org From: "Michael R. Hines" Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable Subject: Re: where is net.inet.udp.sendspace? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Feb 2005 22:16:09 -0000 I see. I'll modify the application. Is there also a way of controlling the kernel's UDP buffer queue - the=20 queue used to store user-space packets before they're put on the link? I've seen other mailing lists through searching where users listed the=20 existence of a "udp.sendspace". Where those just patched or altered FreeBSD= =20 versions? Thanks for your reply, - Michael At 04:53 PM 2/6/2005, you wrote: >On Sun, Feb 06, 2005 at 07:54:15AM -0500, Michael R. Hines wrote: > > > > On my 5.3-RELEASE system, sysctl -a | grep net | grep space gives: > > > > 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 > > > > Where is udp.sendspace? > > > > I'm having some UDP "No buffer space available" problems, but the= precise > > sysctl variable corresponding to the problem doesn't seem to exist. > > > > 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 /*********************************/ Michael R. Hines Grad Student, Florida State Dept. Computer Science http://www.cs.fsu.edu/~mhines/ Jusqu'=E0 ce que le futur vienne... /*********************************/