Skip to main content
3-Newcomer
January 29, 2025
Solved

OPC Group - how see current nunber of OPC Groups

  • January 29, 2025
  • 1 reply
  • 1049 views

In know that starting in Kepserver 6.11 there is a max of 4000 OPC Groups allowed. I would like to know were in Kepserver I can "see" the current value of the number of OPC Groups. So far the only thing I have seen is an event message once we have hit the current limit. So if I have it set to 100 and we have 100 groups, when the 101 group is attempted we get the error. BUT - It sure would be nice to know the CURRENT value of the number of groups so the user can appropriately set their own limit, as well as monitor this number to determine if there is a bad acting client. Where in Kepserver can I see the current number of OPC (DA) Groups.

Best answer by aservetas

This is currently being added to the application as an enhancement to functionality.  Hopefully it will make the next release scheduled for later this spring.

 

-Andy

1 reply

aservetas15-MoonstoneAnswer
15-Moonstone
January 29, 2025

This is currently being added to the application as an enhancement to functionality.  Hopefully it will make the next release scheduled for later this spring.

 

-Andy

3-Newcomer
January 29, 2025

So I need some way to determine if the Groups are growing.  Looks like there is a direct relationship between OPC groups and Threads.

On my DEV instance of Kepserver where I am not having the group issue, With NO clients connected I see 74 threads.  When I connect to Kepserver with one of my clients that subscribes to allot of data I see the thread count go up to 189,  So an encreas of 115 Threads.  I read in article CS384560 that there are 2 threads per group.  So this means that my OPC CLient has approximately 58 Groups.  Is this a way to calculate the groups until the next realease ?

15-Moonstone
February 19, 2025

Unfortunately not as there are multiple reasons why threads increase... OPC  groups are only one of them.

 

The only way to see the group add/group delete calls over OPC DA are through the use of our diagnostics viewer. Those would allow you to manually count them during the period of time where diags are enabled and capturing, but ONLY if that is when your clients are adding or removing them.

 

The diagnostic output will not show you any useful information relating to OPC groups if the diags are captured 'midstream' during normal operation.

 

-Andy