Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Improvement areaParameterDescriptionLocationDefault/Recommended Value
Memory
Code Block
-Xms256m -Xmx1024m -XX:MaxPermSize=256m
The memory allocated for the WSO2 MB.

For Windows: <MB_HOME>/bin/wso2server.bat file

For Linux: <MB_HOME>/bin/wso2server.sh file

Generally, at least 2 GB memory is recommended for production instances.
Cluster healthhazelcast.max.no.heartbeat.seconds

The maximum time period that should elapse between pings received from a worker node in an MB cluster before acknowledging that worker node to be dead. This value is specified in seconds.

This parameter prevents the allocation of resources to inactive worker nodes, thereby avoiding unnecessary system overheads.

A short time duration can be specified in environments with a very high message flow and it is important to reallocate resources from inactive nodes to active nodes fast. A longer time duration can be specified in environments with lower message flows.

<MB_HOME>/repository/conf/hazlecast.properties file600
Recovery:

recoveryWindowSize

 

 

 

 

concurrentStorageQueueReads

This specifies the number of message IDs to be read from an individual database call.

 

 

 

This specifies the number of storage queues that should be read concurrently at the start upon the first node after the cluster became inactive.

<MB_HOME>/repository/conf/broker.xmlThis should be specified taking the tombstone limit in Cassandra into account. Increasing this value can cause TombstoneOverwhelmingException error when Cassandra is used as the message store.