[ECOS] How to recover from TCP/IP No buffer space available

Andrew Lunn andrew@lunn.ch
Fri Apr 7 13:17:00 GMT 2006

>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. 


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