Client connected to our Opc Ua Server doesnt get subscription/Notifications when the number of MonitoredItems reach a limit|OPC UA Standard|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
Client connected to our Opc Ua Server doesnt get subscription/Notifications when the number of MonitoredItems reach a limit
Avatar
Vegard Hellerud
Member
Members
Forum Posts: 4
Member Since:
10/12/2015
sp_UserOfflineSmall Offline
1
09/23/2020 - 06:30
sp_Permalink sp_Print

Hi,

We have developed an OpcUa server using Opc Foundation Toolkit.

We struggle when the OpcUA Client connected creates 1 subscription containing about 1500 MonitoredItems.

When having fewer MonitoredItems everything works fine.

The problem we see is that the client doesnt get any values from the server for some of the MonitoredItems. 

I suspect it is related to some of the server configuration parameters set too low.

Any suggestions on what should be increased or could be the cause?

int a = application.ApplicationConfiguration.ServerConfiguration.MaxSubscriptionCount;//100

int b = application.ApplicationConfiguration.ServerConfiguration.MaxNotificationQueueSize;//100

int c = application.ApplicationConfiguration.ServerConfiguration.MaxMessageQueueSize;//10

int d = application.ApplicationConfiguration.ServerConfiguration.MaxNotificationsPerPublish;//100

int e = application.ApplicationConfiguration.ServerConfiguration.MaxEventQueueSize;//10000

int f = application.ApplicationConfiguration.ServerConfiguration.MaxQueuedRequestCount;//2000

int f = application.ApplicationConfiguration.ServerConfiguration.MaxQueuedRequestCount;

 

Regards Vegard

  

Avatar
Randy Armstrong
Admin
Forum Posts: 1445
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
09/24/2020 - 18:58
sp_Permalink sp_Print

You should be getting errors from the CreateMonitoredItems call if the limit is exceeded. Check the Status.Error variable on the MonitoredItems.

The limits can be set in the Server configuration, however, clients needs to smart enough to deal with these limits which means creating multiple subscriptions if they run into the limits.

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online: Marawan Soliman
Guest(s) 18
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1347
Posts: 4567