Issue with mbuf de-allocation when using NFS in RTEMS

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Nov 3 06:05:58 UTC 2017


On 02/11/17 02:28, Ben Dart wrote:
> We are not sure why we get the RPC, Cant decode result, but this is 
> not necessarily the bad behavior. When this happens we notice that the 
> number of MBUFS available reduces and doesn’t come back. Over a period 
> of 1-2 days eventually we run out of MBUFS and can no longer 
> communicate with RTEMS. Looking in the code, it is clear this error is 
> produced from here:

A mbuf leak can be everywhere NFS client (most likely), network stack, 
network interface driver. I would add some tracing to the mbuf 
alloc/free calls.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.




More information about the users mailing list