This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: How to recover from TCP/IP No buffer space available
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Paul Randall <prandall at delta-info dot com>
- Cc: "ecos-discuss at sources dot redhat dot com" <ecos-discuss at sources dot redhat dot com>
- Date: Fri, 7 Apr 2006 15:17:32 +0200
- Subject: Re: [ECOS] How to recover from TCP/IP No buffer space available
- References: <44366595.2060003@delta-info.com>
>On Fri, Apr 07, 2006 at 09:13:57AM -0400, Paul Randall wrote:
> Hi All,
>
> We have built a board which is based on the A&M Rattler board. It has a
> Freescale 8270 processor.
>
> We are using the board to stream UDP packets containing video to another
> board. This works for several hours, but at some point the transmitting
> board gets a 'No buffer space available' error when calling sendto().
> When I get this error, I stop sending UDP packets for a few seconds,
> then try again. I get the 'No buffer space available' error again. No
> matter how many times I try to resend the packet, I get this error.
>
> How can I recover from this situation short of resetting the board?
Find the leak!
My guess is you are leaking mbufs or clusters and it is probably your
ethernet drive which is the problem.
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