#mqtt Failed to obtain RX buffer #mqtt #api


erik.samyn@...
 

Hi,

I'm implementing mqtt on an nucleo stm32 board (stm32f767zi). The communication from the broker seemed to work OK at first, however when stressing the communication a bit the next error appears multiple times in the log:
==> "<err> eth_stm32_hal: Failed to obtain RX buffer".

What can be the cause of this?

Kind regardsĀ 

Erik Samyn


Jukka Rissanen
 

Hi Erik,

you are running out of RX network buffers. Try to increase the value of
CONFIG_NET_BUF_RX_COUNT
and optionally
CONFIG_NET_PKT_RX_COUNT
options.

Cheers,
Jukka

On Sun, 2020-04-19 at 23:58 -0700, erik.samyn@gmail.com wrote:
Hi,

I'm implementing mqtt on an nucleo stm32 board (stm32f767zi). The
communication from the broker seemed to work OK at first, however
when stressing the communication a bit the next error appears
multiple times in the log:
==> "<err> eth_stm32_hal: Failed to obtain RX buffer".

What can be the cause of this?

Kind regards

Erik Samyn