From owner-freebsd-questions Mon Feb 24 23:17:59 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA03610 for questions-outgoing; Mon, 24 Feb 1997 23:17:59 -0800 (PST) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA03600 for ; Mon, 24 Feb 1997 23:17:56 -0800 (PST) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.5/8.6.12) with SMTP id XAA04669; Mon, 24 Feb 1997 23:17:48 -0800 (PST) Date: Mon, 24 Feb 1997 23:17:48 -0800 (PST) From: Doug White X-Sender: dwhite@localhost Reply-To: Doug White To: Petri Helenius cc: freebsd-questions@freebsd.org Subject: Re: socket buffers In-Reply-To: <199702222146.XAA00595@silver.sms.fi> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Sat, 22 Feb 1997, Petri Helenius wrote: > > I'm running an application that makes heavy use of UDP datagrams and > even when the box is less than half loaded (CPU is 50% idle) I'm > losing a lot of datagrams (they are received on the box but they are > dropped at somewhere in the system level:) > > udp: > 38518974 datagrams received > 0 with incomplete header > 0 with bad data length field > 0 with bad checksum > 21 dropped due to no socket > 1832 broadcast/multicast datagrams dropped due to no socket > 13319898 dropped due to full socket buffers > 0 not for hashed pcb > 25197223 delivered > 238990767 datagrams output > > Since they are marked dropped due to full socket buffers the question > is how do I increase the buffers? Run 'netstat -m' to get the memory info and post that. You may need to increase your mbufs. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major