Description

This article describes one of possible scenarios when ldmdsensor core dump may be generated on the master RE.

Symptoms

  1. The standby RE is frequently crashing
  2. Idmdsensor core dump is present on the master RE
user@device> show system core-dumps no-forwarding
re0: --------------------------------------------------------------------------
re1: --------------------------------------------------------------------------
-rw-r--r-- 1 root root 2063514206 Sep 10 01:52 /var/core/re1/idmdsensor.re.re1.10433.2023_09_09.23_48_24.tar.gz

Solution

Idmdsensor core dump was noticed on RE1 (the master RE), and later during investigation it was identified that RE0 had been frequently crashing (more than 200 crashes in two months).

It was confirmed that idmdsensor process on the master RE leaks file descriptors every time the standby RE crashes. When number of the allocated file descriptors exceeds the limit, the process will crash and restart without any impact. This issue is tracked as https://prsearch.juniper.net/PR1764408.

Modification History

2023-10-12