Versions Compared

Key

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

The goal of multitenancy is to maximize resource sharing across multiple users (while hiding the fact that these users are on the same server) and to ensure optimal performance. You can register tenants using the Management Console of your Carbon product, allowing tenants to maintain separate domains for their institutions.

Info

When multitenancy is used, certain tenants can sometimes become inactive for a long period of time. By default, if the inactive period is 30 minutes, the tenant is unloaded from the server memory. This requires the tenant to log in again before sending requests to the server.

 If If required, you can change the default time allowed for tenant inactiveness by adding the -Dtenant.idle.time=<time_in_minutes> java property to the product startup script (./wso2server.sh file for Linux and wso2server.bat for Windows) as shown below:

 

Code Block
JAVA_OPTS \
    -Dtenant.idle.time=30 \