Skip to content

Not all nodes all added to the monitored items #2408

@steffenbeermann

Description

@steffenbeermann

Describe the bug
We have a opc publisher configured with an endpoint containing 30398 OpcNodes. If we start the opc publisher, only 6.000 (exactly) are added to the monitored items and you can see this in the diagnostics of the endpoint as well:

 "sentMessagesPerSec": 0.10332211227153337,
    "ingestionDuration": "15:49:08.5165570",
    "ingressDataChanges": 205518,
    "ingressValueChanges": 658158,
    "ingressBatchBlockBufferSize": 16,
    "encodingBlockInputSize": 0,
    "encodingBlockOutputSize": 0,
    "encoderNotificationsProcessed": 205502,
    "encoderNotificationsDropped": 0,
    "encoderIoTMessagesProcessed": 5891,
    "encoderAvgNotificationsMessage": 34.88406043116626,
    "encoderAvgIoTMessageBodySize": 25255.861483619112,
    "encoderAvgIoTChunkUsage": 6.165981807524197,
    "estimatedIoTChunksPerDay": 0,
    "outgressInputBufferCount": 0,
    "outgressInputBufferDropped": 0,
    "outgressIoTMessageCount": 5884,
    "connectionRetries": 0,
    "opcEndpointConnected": true,
    "monitoredOpcNodesSucceededCount": 5832,
    "monitoredOpcNodesFailedCount": 168,
    "ingressEventNotifications": 0,
    "ingressEvents": 0,
    "encoderMaxMessageSplitRatio": 0,
    "ingressDataChangesInLastMinute": 179,
    "ingressValueChangesInLastMinute": 290,
    "ingressHeartbeats": 0,
    "ingressCyclicReads": 0
  },

this is our config:

{
    "Hostname": "opcpublisher",
    "Cmd": [
        "--cl=5",
        "--aa",
        "--pf=/mount/publishednodes.json",
        "--PkiRootPath=/mount/pki",
        "--si=90",
        "--di=600000",
        "--bi=10000",
        "--cfa"
    ],
    "HostConfig": {
        "Binds": [
            "/home/iotedge/opcpublisher:/mount"
        ]
    }

}

If we split the endpoint into multiple DataSetWriterGroups, which only contain a few thousand nodes it all nodes are added to the monitored items. Based on the data we receive, it looks like it really just adds the first 6.000 items in the publishednodes.json and than stops.

With another opc server with 90.000 OpcNodes configured, we saw a similar issue, but there the cutoff was 21.000 signals...

We could not see anything in the logs (log level info).

Tested with version 2.9.8. and with out any issue.

To Reproduce
We tried version 2.9.13 and 2.9.14

  • add an endpoint with 30.000 nodes or more nodes
  • start publisher and wait for monitored items created
  • see diagnostics to only have 6.000 endpoints added.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions