Node_open as Advertiser Failed

When I’m connected to the PX4, I get this message pop up in nsh probably 10 times a second

mavlink_rcv_if0: node_open as advertiser failed.

A few things can make this message stop showing up. If I don’t have the uSD inserted, if the GPS is disconnected, or if I do mavlink stop_all. Here is the log from when I reboot the PX4 -

nsh> reboot [boot] Successfully initialized SPI port 3 [boot] Initializing SPI port 4 [boot] Successfully initialized SPI port 4 sercon: Registering CDC/ACM serial driver sercon: Successfully registered the CDC/ACM serial driver param: selected parameter default file /fs/mtd_params [param] Loaded: /fs/mtd_params nsh: hardware_lock: command not found param: Error: Parameter HW_AUTH not found. rgbled on I2C bus 1 at 0x55 (bus: 100 KHz, max: 100 KHz) 6001: + SYS_AUTOSTART: match dataman: Unknown restart, data manager file /fs/microsd/dataman size is 10309s adc init done ver hwcmp match: NAVSTIK ver hwcmp match: NAVSTIK MPU6000 on SPI bus 3 at 1 (1000 KHz) HMC5883_I2C on I2C bus 3 at 0x1e (bus: 100 KHz, max: 400 KHz) WARN ubx checksum err BMP280 on I2C bus 2 at 0x76 (bus: 100 KHz, max: 400 KHz) meas_airspeed: no MS4525 airspeed sensor connected ets_airspeed: no ETS airspeed sensor connected ets_airspeed: no ETS airspeed sensor connected nsh: sf10a: command not found sensors: mag cal status changed ver hwcmp match: NAVSTIK mavlink_if0: mode: 5, data rate: 80000 B/s on /dev/ttyS2 @ 921600B mavlink_if0: offboard mission init: ERROR mavlink_if1: mode: 5, data rate: 2880 B/s on /dev/ttyS0 @ 57600B ver hwcmp match: NAVSTIK ver hwcmp match: NAVSTIK ver hwcmp match: NAVSTIK px4flow [152:100] px4flow: scanning I2C buses for device.. param: Error: Parameter EKF2_REC_RPL not found. WARN log buffer size: 12288 bytes MULTICOPTER [i] Mixer: /etc/mixers/hexa_x.main.mix on /dev/pwm_output0 1: SYS_MC_EST_GROUP: match lp_estimator: starting NuttShell (NSH) nsh> INFO [lpe] baro init 105 m std 14 cm INFO [lpe] z resume commander_low_prio: settings saved. mavlink_rcv_if0: node_open as advertiser failed. mavlink_rcv_if0: node_open as advertiser failed.

Any ideas as to what causes this? The only issue(?) I can see is if I do a uORB Test, the latency test fails.

Thanks

This usually happens when the mavlink task runs out of file handles. It’s defined for fmu-v4 in https://github.com/PX4/Firmware/blob/master/nuttx-configs/px4fmu-v4/nsh/defconfig#L445.
You can try to increase it for your target, and see if the error goes away.

cheers
Beat