WebSphere Event Broker supports up to 25,000 subscriptions on a broker, but to handle this many subscriptions you need to tune your brokers and the databases that they use. The following sections describe some of the things that you need to consider.
You might need to change the broker's jvmMaxHeapSize. The default value for this is 128 MB.
This needs to be set to a value large enough for all topics in the subscriptions. For example, if you have 10,000 subscriptions, each for a topic that uses 20 KB of storage, you need to set the value of the jvmMaxHeapSize property to at least 200 MB.
mqsichangeproperties brokername -o ComIbmJVMManager -n jvmMaxHeapSize -v 268435456where brokername is the name of your broker.
Database error: SQL State '54028'; Native Error Code '-429'; Error Text '[IBM][CLI Driver][DB2/LINUX] SQL0429N The maximum number of concurrent LOB locators has been exceeded. SQLSTATE=54028 '.This is due to a limitation in the number of LOB handles in DB2. To overcome this problem, you require a patch in DB2; you need to edit file db2cli.ini.
[{Database name}] PATCH2=50 LobCacheSize=1048576The PATCH line instructs DB2 to free up LOB locators after it has used them, and the LobCacheSize parameter adjusts the total memory that is available to LOB locators; in this case 1 GB. You might then need to restart the DB2 instance.
When a subscription is made to a broker that is a member of a collective, or is directly linked to another broker, all brokers that are connected to the broker create a proxy subscription. The total number of proxy subscriptions and direct subscriptions must be less than 25,000 for each of your brokers. This has implications on how you plan your broker topology.
For example, consider a collective of N brokers. To maximize connectivity, you connect an instance of a client to each broker with each of those instances subscribing to the same unique topic. Therefore, for N brokers there are N clients for each unique topic. In this situation, each broker has a subscription to each client connected to it, and also a proxy subscription to each of the other brokers in the collective. Therefore, each broker has N subscriptions for every unique topic (One for the client that is directly connected and N-1 for the proxy subscriptions to all of the other brokers). If there are T unique topics, you should make sure that N*T <= 25000. That is, if you have 1000 unique topics, your collective should be restricted to have a maximum of 25 brokers.
Notices |
Trademarks |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
aq20816_ |