From owner-freebsd-net@FreeBSD.ORG Sat Sep 6 14:29:14 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A35C616A4BF for ; Sat, 6 Sep 2003 14:29:14 -0700 (PDT) Received: from hysteria.spc.org (hysteria.spc.org [195.206.69.234]) by mx1.FreeBSD.org (Postfix) with SMTP id 6B1BF44013 for ; Sat, 6 Sep 2003 14:29:13 -0700 (PDT) (envelope-from bms@hysteria.spc.org) Received: (qmail 9481 invoked by uid 5013); 6 Sep 2003 21:25:49 -0000 Date: Sat, 6 Sep 2003 22:25:49 +0100 From: Bruce M Simpson To: Colin Watson Message-ID: <20030906212549.GP1417@spc.org> Mail-Followup-To: Bruce M Simpson , Colin Watson , freebsd-net@freebsd.org References: <002201c3749d$c8cf4460$0b4e1151@blackbox> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <002201c3749d$c8cf4460$0b4e1151@blackbox> User-Agent: Mutt/1.4.1i Organization: SPC cc: freebsd-net@freebsd.org Subject: Re: Packet loss problem X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Sep 2003 21:29:14 -0000 On Sat, Sep 06, 2003 at 06:39:12PM +0100, Colin Watson wrote: > / 33104 broadcast/multicast datagrams dropped due to no socket " which seems an inordinatly high amount. There are no drops due to full socket buffers, although I have recompiled the kernel with nmbclusters=8192 and Maxusers=1024 (to increase number of available sockets - kern.ipc.maxsockets to 9391), still the loss occurs. Any suggestions, and could someone explicitly explain what "broadcast/multicast datagrams dropped due to no socket" means. As Pete points out this unusually high 'no socket' figure could be due to packets being received for a service you don't run. Beefing up the number of PCBs you can have won't have any effect there if that is the case. Also it could be due to a socket application not binding to INADDR_ANY to pick up undirected broadcasts (they don't get delivered to interface bound ports). Of course this is probably not likely to affect your application if you're explicitly unicasting traffic. But if you intend to receive multicasts this could be the case. Are you filtering anything, or could your upstream be filtering anything? BMS