

16:01, EEST

December 20, 2021

Hello,
as in the demo we have set the “Safety limits” on our server:
opcUaServer.getSessionManager().setMaxSessionCount(500);
opcUaServer.getSessionManager().setMaxSessionTimeout(3600000);// one hour
opcUaServer.getSubscriptionManager().setMaxSubscriptionCount(50);
Where is this information published on the OPC UA tree?
As a best practice, are there any other limits to set?
Best regards,
Francesco
14:04, EEST

April 3, 2012

Hi,
I was going to answer that they are not available from the server address space, but seems 1.05 information model added some nodes below /Root/Objects/Server/ServerCapabilities for these. We could populate them in some future version automatically, but you can write the values for them manually in the current version, if you need them.
However, as that was only added in 1.05, it is unlikely that a lot of servers would yet have these.
As to the “As a best practice, are there any other limits to set?”, there are a lot of parameters you can configure. I cannot go into detail of all of them here or writing this would take days. Assuming run the server on a typical PC hardware, defaults should be ok.
2 Guest(s)
