From owner-freebsd-net Wed Feb 7 10:13:34 2001 Delivered-To: freebsd-net@freebsd.org Received: from iguana.aciri.org (iguana.aciri.org [192.150.187.36]) by hub.freebsd.org (Postfix) with ESMTP id 1019F37B65D for ; Wed, 7 Feb 2001 10:13:17 -0800 (PST) Received: (from rizzo@localhost) by iguana.aciri.org (8.11.1/8.11.1) id f17IDA975689; Wed, 7 Feb 2001 10:13:10 -0800 (PST) (envelope-from rizzo) From: Luigi Rizzo Message-Id: <200102071813.f17IDA975689@iguana.aciri.org> Subject: Re: send problem on udp socket... In-Reply-To: <3A818B31.9B12C8B3@softweyr.com> from Wes Peters at "Feb 7, 2001 10:51:45 am" To: wes@softweyr.com (Wes Peters) Date: Wed, 7 Feb 2001 10:13:10 -0800 (PST) Cc: bright@wintelcom.net, rizzo@aciri.org, net@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > ENOBUFS == ESYSADMINNEEDSTORAISENMBCLUSTERS > > Or perhaps ENOBUFS == E_SYSTEM_NEEDS_TO_RAISE_NMBCLUSTERS_ALL_ON_ITS_OWN? it is not an NMBCLUSTERS problem, it is just the device queue which is filling up, and this is a perfectly normal and desired behaviour. One would just want that to be handled as in the case of writes to a disk or the like -- i.e. wait until the subsystem (in this case the network device) is ready. For disks and TCP the synchronization is achieved through the socket buffer and (presumably for disks as well, i am no expert on filesystems) explicit acks on write ops. For UDP sockets things are unfortunately a bit more complex as there is no ack nor socket buffers. Plus there might be around a ton of software which relies on the current behaviour... cheers luigi ----------------------------------+----------------------------------------- Luigi RIZZO, luigi@iet.unipi.it . ACIRI/ICSI (on leave from Univ. di Pisa) http://www.iet.unipi.it/~luigi/ . 1947 Center St, Berkeley CA 94704 Phone: (510) 666 2927 ----------------------------------+----------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message