Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Feb 1997 23:17:48 -0800 (PST)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        Petri Helenius <pete@sms.fi>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: socket buffers
Message-ID:  <Pine.BSI.3.94.970224231723.4530U-100000@localhost>
In-Reply-To: <199702222146.XAA00595@silver.sms.fi>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.94.970224231723.4530U-100000>