after running "lustre_rmmod" in our lustre test system , the command stuck.
then we looked for stuck proccess and we sow that the lustre exporter run the "lnetctl net show -v 4" command.
systemctl status lustrefs_exporter.service
● lustrefs_exporter.service - Prometheus exporter for Lustre filesystem
Loaded: loaded (/usr/lib/systemd/system/lustrefs_exporter.service; enabled; preset: disabled)
Active: active (running) since Thu 2025-07-24 16:29:12 IDT; 1 month 24 days ago
Docs: https://github.com/whamcloud/lustrefs-exporter
Main PID: 3816428 (lustrefs_export)
Tasks: 874 (limit: 3355442)
Memory: 277.1M (high: 1.7G max: 2.0G available: 1.4G)
CPU: 1h 16min 30.039s
CGroup: /system.slice/lustrefs_exporter.service
├─1266028 lnetctl net show -v 4
├─1266671 lnetctl net show -v 4
├─1267272 lnetctl net show -v 4
├─1267901 lnetctl net show -v 4
├─1268565 lnetctl net show -v 4
├─1269165 lnetctl net show -v 4
├─1269759 lnetctl net show -v 4
├─1270353 lnetctl net show -v 4
├─1271007 lnetctl net show -v 4
├─1271653 lnetctl net show -v 4
├─1272247 lnetctl net show -v 4
├─1272896 lnetctl net show -v 4
├─1273550 lnetctl net show -v 4
├─1274196 lnetctl net show -v 4
├─1274790 lnetctl net show -v 4
├─1275413 lnetctl net show -v 4
├─1276058 lnetctl net show -v 4
├─1276702 lnetctl net show -v 4
├─1277298 lnetctl net show -v 4
├─1277957 lnetctl net show -v 4
├─1278602 lnetctl net show -v 4
├─1279246 lnetctl net show -v 4
├─1279918 lnetctl net show -v 4
├─1280582 lnetctl net show -v 4
├─1281231 lnetctl net show -v 4
├─1281807 lnetctl net show -v 4
├─1282441 lnetctl net show -v 4
├─1283109 lnetctl net show -v 4
├─1283744 lnetctl net show -v 4
├─1284351 lnetctl net show -v 4
├─1284985 lnetctl net show -v 4
├─1285653 lnetctl net show -v 4
├─1286287 lnetctl net show -v 4
├─1286895 lnetctl net show -v 4
├─1287529 lnetctl net show -v 4
├─1288173 lnetctl net show -v 4
├─1288800 lnetctl net show -v 4
├─1289416 lnetctl net show -v 4
├─1290052 lnetctl net show -v 4
├─1290667 lnetctl net show -v 4
├─1291290 lnetctl net show -v 4
├─1291906 lnetctl net show -v 4
├─1292542 lnetctl net show -v 4
├─1293211 lnetctl net show -v 4
├─1293832 lnetctl net show -v 4
├─1294413 lnetctl net show -v 4
├─1295031 lnetctl net show -v 4
├─1295712 lnetctl net show -v 4
├─1296344 lnetctl net show -v 4
├─1296956 lnetctl net show -v 4
it seems that there need to be some validation before running the command.
i am using lustre 2.16.1 and the latest version of the exporter.
after running "lustre_rmmod" in our lustre test system , the command stuck.
then we looked for stuck proccess and we sow that the lustre exporter run the "lnetctl net show -v 4" command.
systemctl status lustrefs_exporter.service
● lustrefs_exporter.service - Prometheus exporter for Lustre filesystem
Loaded: loaded (/usr/lib/systemd/system/lustrefs_exporter.service; enabled; preset: disabled)
Active: active (running) since Thu 2025-07-24 16:29:12 IDT; 1 month 24 days ago
Docs: https://github.com/whamcloud/lustrefs-exporter
Main PID: 3816428 (lustrefs_export)
Tasks: 874 (limit: 3355442)
Memory: 277.1M (high: 1.7G max: 2.0G available: 1.4G)
CPU: 1h 16min 30.039s
CGroup: /system.slice/lustrefs_exporter.service
├─1266028 lnetctl net show -v 4
├─1266671 lnetctl net show -v 4
├─1267272 lnetctl net show -v 4
├─1267901 lnetctl net show -v 4
├─1268565 lnetctl net show -v 4
├─1269165 lnetctl net show -v 4
├─1269759 lnetctl net show -v 4
├─1270353 lnetctl net show -v 4
├─1271007 lnetctl net show -v 4
├─1271653 lnetctl net show -v 4
├─1272247 lnetctl net show -v 4
├─1272896 lnetctl net show -v 4
├─1273550 lnetctl net show -v 4
├─1274196 lnetctl net show -v 4
├─1274790 lnetctl net show -v 4
├─1275413 lnetctl net show -v 4
├─1276058 lnetctl net show -v 4
├─1276702 lnetctl net show -v 4
├─1277298 lnetctl net show -v 4
├─1277957 lnetctl net show -v 4
├─1278602 lnetctl net show -v 4
├─1279246 lnetctl net show -v 4
├─1279918 lnetctl net show -v 4
├─1280582 lnetctl net show -v 4
├─1281231 lnetctl net show -v 4
├─1281807 lnetctl net show -v 4
├─1282441 lnetctl net show -v 4
├─1283109 lnetctl net show -v 4
├─1283744 lnetctl net show -v 4
├─1284351 lnetctl net show -v 4
├─1284985 lnetctl net show -v 4
├─1285653 lnetctl net show -v 4
├─1286287 lnetctl net show -v 4
├─1286895 lnetctl net show -v 4
├─1287529 lnetctl net show -v 4
├─1288173 lnetctl net show -v 4
├─1288800 lnetctl net show -v 4
├─1289416 lnetctl net show -v 4
├─1290052 lnetctl net show -v 4
├─1290667 lnetctl net show -v 4
├─1291290 lnetctl net show -v 4
├─1291906 lnetctl net show -v 4
├─1292542 lnetctl net show -v 4
├─1293211 lnetctl net show -v 4
├─1293832 lnetctl net show -v 4
├─1294413 lnetctl net show -v 4
├─1295031 lnetctl net show -v 4
├─1295712 lnetctl net show -v 4
├─1296344 lnetctl net show -v 4
├─1296956 lnetctl net show -v 4
it seems that there need to be some validation before running the command.
i am using lustre 2.16.1 and the latest version of the exporter.