This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: FreeBSD: "recv out of MBUFS"


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]