

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.
Most Users Ever Online: 518
Currently Online:
13 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
hbrackel: 130
pramanj: 86
Francesco Zambon: 78
ibrahim: 75
rocket science: 73
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
TimK: 41
Member Stats:
Guest Posters: 0
Members: 665
Moderators: 16
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1430
Posts: 6119
Newest Members:
sophiedavis, anitas, fakenatty, Negansaf, rheakempton93, JPasterkamp, mattiwenell, KevinGainy, jamiescooper, lonmackellar61Moderators: Jouni Aro: 1002, Otso Palonen: 32, Tuomas Hiltunen: 5, Pyry: 1, Petri: 0, Bjarne Boström: 954, Heikki Tahvanainen: 402, Jukka Asikainen: 1, moldzh08: 0, Jimmy Ni: 26, Teppo Uimonen: 21, Markus Johansson: 42, Niklas Nurminen: 0, Matti Siponen: 297, Lusetti: 0, Ari-Pekka Soikkeli: 5
Administrators: admin: 1