lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] I free all pbufs that I reserve but pbuf_pool is full !


From: Sergio PérezAlcañiz
Subject: Re: [lwip-users] I free all pbufs that I reserve but pbuf_pool is full !!
Date: Wed, 26 Feb 2003 12:11:12 +0100 (CET)
User-agent: IMP/PHP IMAP webmail program 2.2.3

Mensaje citado por: Kieran Mansley <address@hidden>:

> On Wed, 26 Feb 2003, Sergio PérezAlcañiz wrote:
> 
> > Hello, as I say in the subject, I count the calls to pbuf_alloc and
> > pbuf_free and are almost the same, but, at the end, I got the
> message:
> > "pbuf_alloc: Out of pbufs in pool,". When freeing pbufs I see if the
> > pbuf->ref is greater than 0, but it is not, so they are suposed to be
> > freed. What is happening??
> 
> I'm not sure.  Are you saying the pbuf's have a reference count of 0
> but
> they are not freed?  Are you sure this is the case for all the pbuf's
> in
> question?  Which interface are you using to access the lwip stack (the
> raw
> API, sockets, or something of your own creation)?  I think we'll need
> some
> more information to help you with this problem.
> 
> Thanks
> 
> Kieran
> 
> 
> 
> _______________________________________________
> lwip-users mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/lwip-users
> 
> 

The problems deal with pbufs from the pbuf_pool. I'm using the raw API to access
them. It looks like if PBUF_POOL_FREE is not freeing those pbufs allocated in
pbuf_pool_alloc_cache. 

I'm connecting a tcp server communicating through lwip stack with a client in
other machine. When I reach x executions of the client, I receive the message
said before. ?¿?¿?? Maybe is not too mucho info. Thanks anyway. If it's a bug,
I'll post it. Bye.








reply via email to

[Prev in Thread] Current Thread [Next in Thread]