Environment
Business Service Manager 4.5
Business Service Manager 4.6
Business Service Manager 4.7
Business Service Manager 4.6
Business Service Manager 4.7
Situation
The default Caching behavior of ConfigStore introduced in MO 4.6
and in later patch bundles on 4.5 can cause initialization of large
Service Models
, Generational Models and/or Geographies to take a long time to
initialize.
Resolution
Workaround:
The workaround for this issue is to add the names of the relevant attribute names as a comma-separated list to"Server.Config.Strings.AlwaysPooled=" in formula.custom.properties. Server.Config.Strings.AlwaysPooled= field in the formula.custom.properties file speeds up the startup time of the server by determining which attributes of an element should be cached in memory during startup.
In order to find the names of attributes that need to be included in this field Add this to $install/database/shadowed/Adapters.ini. (If there is already a [Formula] section, then simply add this line to what is already there.)
[Formula]
Script.onInitialStateRecalcComplete=formula.log.info(server.elementPersistence.cacheDetails )
The data will show up in the formula.trc under the heading Formula.Script.
The workaround for this issue is to add the names of the relevant attribute names as a comma-separated list to"Server.Config.Strings.AlwaysPooled=" in formula.custom.properties. Server.Config.Strings.AlwaysPooled= field in the formula.custom.properties file speeds up the startup time of the server by determining which attributes of an element should be cached in memory during startup.
In order to find the names of attributes that need to be included in this field Add this to $install/database/shadowed/Adapters.ini. (If there is already a [Formula] section, then simply add this line to what is already there.)
[Formula]
Script.onInitialStateRecalcComplete=formula.log.info(server.elementPersistence.cacheDetails )
The data will show up in the formula.trc under the heading Formula.Script.