IBM Support

JR51325: DOC - CONFIGURE MANAGED ASSET CACHE TO PREVENT SLOW PERFORMANCE WHEN USING IBM BPM MANAGED ASSETS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as documentation error.

Error description

  • You experience slow performance when you run services that run
    Java or JavaScripts that are defined as managed assets.
    

Local fix

Problem summary

  • Depending on the number of IBM BPM Java and JavaScript managed
    assets and the number of process applications that use managed
    assets, you might experience slow performance when you work
    with IBM BPM managed assets.
    Because the managed asset class loader cache, managed asset
    cache, or both caches are small, the cache must be refreshed
    often, which decreases the performance.
    

Problem conclusion

  • The following configuration parameters define the cache sizes
    for managed-asset handling:
    
    classloader-cache-size
    The parameter classloader-cache-size is relevant for Java and
    JavaScript, because both require the managed asset classloader
    for execution. In case of a JavaScript this is necessary to call
    a Java method out of a JavaScript.
    
    There is one classloader instance per version of a process
    application. To prevent classloader instances from being swapped
    out of the cache frequently, set the classloader-cache-size
    parameter to a value higher than the number of active process
    application versions on your system.
    
    For example, if you have n process applications and each
    process application has m active snapshots, set the
    classloader-cache-size parameter to (n*m).
    
    
    classloader-resource-map-size
    The classloader-resource-map-size parameter defines the number
    of Java classes that are inside managed assets and cached over
    all process applications and versions.
    When you use huge .jar files as managed assets, increase the
    classloader-resource-map-size parameter. Because
    classloader-resource-map-size is a JVM-wide parameter, the
    parameter number should be high enough to cache all managed
    assets that are used on the JVM. For example, if you have three
    jar files as managed assets
    file1.jar  containing 50 class files
    file2.jar  containing 70 class files
    file3.jar  containing 100 class files.
    
    the cache must be 50 + 70 + 100  +  reserve = 220 + reserve.
    Therefore, you use 10-20 % of the total number as a reserve.
    
    To adapt the managed asset cache sizes, complete the following
    steps:
    
    1. Stop your network deployment environment and the deployment
    manager.
    
    2. Locate the 00Static.xml file in your network deployment
    environment by opening the original configuration file. The file
    might be located in the following directory:
    PROFILE_HOME\config\cells\cell_name\nodes\node_name\servers\serv
    er_name\process-server\config\system\.
    
    3. Open the file in a text editor, find the following property,
    and copy it:
    <classloader-cache-size>"current value"</classloader-cache-size>
    <classloader-resource-map-size> "current value"
    </classloader-resource-map-size>
    
    4. Locate the 100custom.xml file in your network deployment
    environment. The 100Custom.xml file is under each cluster member
    in your deployment manager profile under the
      PROFILE_ROOT\config\cells\cell_name\nodes\custom_node_name\
      servers\cluster_member_name\server_type\config\ path.
    
    5. Open each 100Custom.xml file and locate the last </server>
    instance in the file.
    
    6. Just above the </server> instance, replace the code with the
    code you copied in step 3.
    
    7. Save the file. The new code should look like the following
    example:
    
    <server merge="mergeChildren">
    <classloader-cache-size merge="replace">"new
    value"</classloader-cache-size>
    <classloader-resource-map-size merge="replace>"new
    value"</classloader-resource-map-size>
    </server>
    
    8. Restart your deployment manager and cluster.
    
    9. Select Full Resynchronize to replicate the settings from the
    deployment manager server to the individual nodes.
    
    For more information about the 100custom.xml file, see The
    99Local.xml and 100Custom.xml configuration files topic in the
    product documentation.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR51325

  • Reported component name

    BPM STANDARD

  • Reported component ID

    5725C9500

  • Reported release

    850

  • Status

    CLOSED DOC

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-09-24

  • Closed date

    2015-04-23

  • Last modified date

    2015-04-23

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    BPM STANDARD

  • Fixed component ID

    5725C9500

Applicable component levels

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSFTDH","label":"IBM Business Process Manager Standard"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
23 April 2015