This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: FreeBSD: "recv out of MBUFS"
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Richard Rauch <Richard dot Rauch at vipa dot de>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Mon, 14 Feb 2005 13:11:57 +0100
- Subject: Re: [ECOS] FreeBSD: "recv out of MBUFS"
- References: <001301c5128b$684eb570$478010ac@vipaintern.vipa.de>
On Mon, Feb 14, 2005 at 12:50:39PM +0100, Richard Rauch wrote:
> Hello,
>
> testing the lastest version of FreeBSD Stack occasionally this kind of
> error occured: " recv out of MBUF".Has anybody some hints , how calculate
> the
> following parameters: CYGPKG_NET_MEM_USAGE, CYGPKG_NET_MEM_USAGE,
> CYGPKG_NET_MEMPOOL_SIZE,CYGPKG_NET_MBUFS_SIZE.
> Is there already installed some code to prevent the stack for overflooding?
>
> Unfortunately, the stack hangs at all after this error occured. Is it
> possible to keep the stack alive?
The problem is most likely in your ethernet device driver, not the
TCP/IP stack. Your are probably leaking MBUFs in the receive or
transmit code. Changing the size of CYGPKG_NET_MEM_* will not help, it
will only delay the time until you get into problems.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss