[ECOS] FreeBSD: "recv out of MBUFS"
Andrew Lunn
andrew@lunn.ch
Mon Feb 14 12:12:00 GMT 2005
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
More information about the Ecos-discuss
mailing list