22:05, EEST
June 16, 2022
Hi Team,
Trying to upgrade Prosys library version from 3.1.6 to 4.7.2-13. Before migration we handle data for 100,000 per 1sec, but once i migrate to 4.7.2 data is not flowing through. Is there any restriction on number of subscriptions or any limitations on how to handle large volumes of data.
Current setup for the Subscription
getSessionManager().setMaxSessionCount(500);
getSubscriptionManager().setMaxSubscriptionCount(500);
and security Policies
Set supportedHttpsModes = new HashSet();
supportedHttpsModes.addAll(HttpsSecurityPolicy.ALL_102);
supportedHttpsModes.addAll(HttpsSecurityPolicy.ALL_103);
supportedHttpsModes.addAll(HttpsSecurityPolicy.ALL_104);
uaServer.getHttpsSettings().setHttpsSecurityPolicies(supportedHttpsModes);
getting Error_Configuration Bad_TooManyMonitoredItems: The request could not be processed because there too many monitored items in the subscription
8:44, EEST
Moderators
February 11, 2020
Hello,
What exactly do you mean with “100,000 per 1sec”? Do you mean that there have been 100000 MonitoredItems that report new values once every second or something else?
The default value for MaxMonitoredItemsPerSubscription in version 4.7.2 and later is 10000. If you wish to create Subscriptions with more MonitoredItems than that, you will need to call
getSubscriptionManager().setMaxMonitoredItemsPerSubscription(100000)
to increase the limit from 10000 to 100000.
10:14, EEST
April 3, 2012
Hi,
I’ll add a note that we added the limit in 4.0.0, before that we didn’t have any way to limit the number of items in a subscription (which is bad, since you typically want to have “a limit” like you do with subscriptions etc.). We set the default at 1000 initially, which was later noticed to be too low of a default so it was increased to 10000 in later 4.x versions. In theory there is no upper bound (or well int max value as that is used to configure it) in technical sense (CPU or RAM limits will be hit at some point though)
P.S.
NOTE! Please update to 4.8.2, that is the latest release https://downloads.prosysopc.com/opcua/Prosys_OPC_UA_SDK_for_Java_4_Release_Notes.html#version-4-8-2, (4.8.0 included a security fix: https://downloads.prosysopc.com/opcua/Prosys_OPC_UA_SDK_for_Java_4_Release_Notes.html#version-4-8-0).
23:06, EEST
June 16, 2022
Thanks @Matti Siponen and @Bjarne Bostrom
Not able to fetch the limit information form the migration documents or pdf , thanks for details explanation and quick response.
this change fixed the issue
getSubscriptionManager().setMaxMonitoredItemsPerSubscription(100000)
can we increase this limit from 100000 to 1000000, we have MonitoredItems greater than 100000
getSubscriptionManager().setMaxMonitoredItemsPerSubscription(1000000)
10:43, EEST
April 3, 2012
If it is something that has previously worked for you, yes. So basically you should be able to use/set any value between 1 and Integer.MAX_VALUE (though we have typically tested with like around 1000 and 10000). Basically using Integer.MAX_VALUE would be almost the same as before 4.x, though it is still “a limit” vs. none at all.
Most Users Ever Online: 1919
Currently Online:
20 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Heikki Tahvanainen: 402
hbrackel: 144
rocket science: 88
pramanj: 86
Francesco Zambon: 83
Ibrahim: 78
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
Member Stats:
Guest Posters: 0
Members: 727
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1529
Posts: 6471
Newest Members:
ellis87832073466, zkxwilliemae, gabriellabachus, Deakin, KTP25Zof, Wojciech Kubala, efrennowell431, wilfredostuart, caitlynfajardo, jeromechubb7Moderators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1032, Jimmy Ni: 26, Matti Siponen: 349, Lusetti: 0
Administrators: admin: 1