Ports are duplicating across many devices at random

There was an issue about this in github that was closed in July. We are still seeing this behavior. It seems to get triggered randomly after a poller is rebooted, and does not affect all devices that poller is assigned.

Ports are duplicating across many devices at random #17781

librenms@nms:~$ ./validate.php
===========================================
Component | Version
--------- | -------
LibreNMS  | 25.9.0-dev.18+847754368 (2025-08-26T15:40:09-06:00)
DB Schema | 2025_06_30_080844_add_ipv4_network_index_to_ipv4_addresses_table (354)
PHP       | 8.3.6
Python    | 3.12.3
Database  | MariaDB 10.11.13-MariaDB-0ubuntu0.24.04.1
RRDTool   | 1.7.2
SNMP      | 5.9.4.pre2
===========================================

[OK]    Composer Version: 2.8.11
[OK]    Dependencies up-to-date.
[OK]    Database Connected
[OK]    Database Schema is current
[OK]    SQL Server meets minimum requirements
[OK]    lower_case_table_names is enabled
[OK]    MySQL engine is optimal
[OK]    Database and column collations are correct
[OK]    Database schema correct
[OK]    MySQL and PHP time match
[OK]    Distributed Polling setting is enabled globally
[OK]    Connected to rrdcached
[OK]    Active pollers found
[OK]    Dispatcher Service not detected
[OK]    Locks are functional
[FAIL]  Some poller nodes have not checked in recently
        Inactive Nodes:
         sea-libre
[OK]    Redis is functional
[OK]    rrdtool version ok
[OK]    Connected to rrdcached
librenms@nms:~$ 

What port association mode?

ifIndex for all devices

Our install has distributed pollers

Here’s validate output for the poller that monitors device in screenshot:

===========================================
Component | Version
--------- | -------
LibreNMS  | 25.9.0-dev.22+b3ce49991 (2025-08-29T23:45:41-06:00)
DB Schema | 2025_06_30_080844_add_ipv4_network_index_to_ipv4_addresses_table (354)
PHP       | 8.3.6
Python    | 3.12.3
Database  | MariaDB 10.11.13-MariaDB-0ubuntu0.24.04.1
RRDTool   | 1.7.2
SNMP      | 5.9.4.pre2
===========================================

[OK]    Composer Version: 2.8.11
[OK]    Dependencies up-to-date.
[OK]    Database Connected
[OK]    Database Schema is current
[OK]    SQL Server meets minimum requirements
[OK]    lower_case_table_names is enabled
[OK]    MySQL engine is optimal
[OK]    Database and column collations are correct
[OK]    Database schema correct
[OK]    MySQL and PHP time match
[OK]    Distributed Polling setting is enabled globally
[OK]    Connected to rrdcached
[OK]    Active pollers found
[OK]    Dispatcher Service not detected
[OK]    Locks are functional
[OK]    Python poller wrapper is polling
[OK]    Redis is functional
[OK]    rrdtool version ok
[OK]    Connected to rrdcached

Here’s validate output for the central mysql/redis/memcached/rrdcached server

===========================================
Component | Version
--------- | -------
LibreNMS  | 25.9.0-dev.22+b3ce49991 (2025-08-29T23:45:41-06:00)
DB Schema | 2025_06_30_080844_add_ipv4_network_index_to_ipv4_addresses_table (354)
PHP       | 8.3.6
Python    | 3.12.3
Database  | MariaDB 10.11.13-MariaDB-0ubuntu0.24.04.1
RRDTool   | 1.7.2
SNMP      | 5.9.4.pre2
===========================================

[OK]    Composer Version: 2.8.11
[OK]    Dependencies up-to-date.
[OK]    Database Connected
[OK]    Database Schema is current
[OK]    SQL Server meets minimum requirements
[OK]    lower_case_table_names is enabled
[OK]    MySQL engine is optimal
[OK]    Database and column collations are correct
[OK]    Database schema correct
[OK]    MySQL and PHP time match
[OK]    Distributed Polling setting is enabled globally
[OK]    Connected to rrdcached
[OK]    Active pollers found
[OK]    Dispatcher Service not detected
[OK]    Locks are functional
[OK]    Python poller wrapper is polling
[OK]    Redis is functional
[OK]    rrdtool version ok
[OK]    Connected to rrdcached

How about discovery or poller debug output when it is duplicating the ports?