Database Performance Monitoring Oracle Fusion Middleware Online Documentation Library

Tuning Application Server Performance 25-3

2. Navigate to Environment, Work Managers, and then to

MaxThreadsConstraint-0 . 3. Change the value of the count from 20 to number per your requirement.

25.5 Disable Reloading of Adapters and Plug-in Configuration

By default, reloading of adapters and plug-in configuration are enabled for ease of development. These should be disabled in the production environment. To do so: 1. Export the dboim-config.xml file from MDS as described in Exporting and Importing Configuration Files on page 18-1. 2. In the oim-config.xml file, replace the following: ADPClassLoaderConfig adapterReloadingEnabled=true loadingStyle=ParentFirst reloadInterval=15 reloadingEnabled=true With: ADPClassLoaderConfig adapterReloadingEnabled=false loadingStyle=ParentFirst reloadInterval=15 reloadingEnabled=false 3. Replace the following: storeConfig reloadingEnabled=true reloadingInterval=20 With: storeConfig reloadingEnabled=false reloadingInterval=20 4. Save the oim-config.xml file and import it back to MDS.

25.6 Changing the Number of Open File Descriptors for UNIX Optional

WebLogic limits the number of open file descriptors in the WEBLOGIC_HOMEcommonbincommEnv.sh script to 1024. In some cases, if there is a huge number of concurrent users, WebLogic may throw the TOO MANY OPEN FILES exception. If you face this error, then increase the limit beyond 1024 in the script. Ensure that the operating system is able to handle the increase in the number of open files.

25.7 Tuning the JVM Garbage Collection for Solaris Sparc T3 or T4

To tune the JVM garbage collection for Solaris Sparc T3 or T4: 1. In a text editor, open the setSOADomainEnv.sh or setSOADomainEnv.cmd file in the DOMAIN_HOMEbin directory. 2. Set the value of USER_MEM_ARGS similar to the following: USER_MEM_ARGS=-Xms3048m -Xmx3048m -Xmn1648m -Xss256k -XX:PermSize=384m -XX:MaxPermSize=384m 3. Set the value of JAVA_OPTIONS similar to the following: Note: The values shown for USER_MEM_ARGS are examples. You can change the values based on your requirement. 25-4 Oracle Fusion Middleware Administrators Guide for Oracle Identity Manager JAVA_OPTIONS=-Xnoclassgc -XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=90 -XX:PermSize=350m -XX:MaxPermSize=350m -XX:+AggressiveOpts -XX:+UseParallelOldGC -XX:ParallelGCThreads=8 -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintGCDateStamps -XX:ReservedCodeCacheSize=64m -XX:CICompilerCount=8 -XX:+AlwaysPreTouch -XX:+PrintReferenceGC -XX:+ParallelRefProcEnabled -XX:-UseAdaptiveSizePolicy -XX:+PrintAdaptiveSizePolicy -XX:+DisableExplicitGC 4. Save and close the file. Note: The values shown for JAVA_OPTIONS are examples. You can change the values based on your requirement. 26 Tuning and Managing Application Cache 26-1 26 Tuning and Managing Application Cache This chapter explains about caching and how it can be managed. It contains the following sections: ■ Introduction to Caching ■ Tuning Oracle Identity Manager Cache ■ Purging the Cache

26.1 Introduction to Caching

Oracle Identity Manager allows caching of metadata, which reduces DB activities. This results in reduced network load and improved performance. By default, caching for most of the configurations are disabled set to false so that the configuration changes are reflected immediately without having to restart the application servers in the development environments.

26.2 Tuning Oracle Identity Manager Cache

Caching is configured in the dboim-config.xml configuration file, which is located in MDS. See Chapter 18, Using Enterprise Manager for Managing Oracle Identity Manager Configuration for information about how to make changes to this file. Oracle recommends the following settings for the production environments for optimal and better performance. ■ Set the caching to true for all the components except the following two sections: threadLocalCacheEnabled=false StoredProcAPI enabled=false ■ Set clustered=false for non-clustered installation and clustered=true for clustered installation. Example 26–1 shows a snippet from the dboim-config.xml file, with all the caching enabled for production systems. Example 26–1 Recommended Cache Values for oim-config.xml in a Clustered Production Environment cacheConfig clustered=true enabled=true expirationTime=144000 provider=oracle.iam.platform.utils.cache.OSCacheProvider threadLocalCacheEnabled=false cacheCategoriesConfig cacheCategoryConfig name=DataObjectEventHandlers enabled=true 26-2 Oracle Fusion Middleware Administrators Guide for Oracle Identity Manager expirationTime=14400 cacheCategoryConfig name=ProcessDefinition enabled=true expirationTime=14400 cacheCategoryConfig name=EmailDefinition enabled=true expirationTime=14400 cacheCategoryConfig name=RuleDefinition enabled=true expirationTime=14400 cacheCategoryConfig name=FormDefinition enabled=true expirationTime=14400 cacheCategoryConfig name=ColumnMap enabled=true expirationTime=14400 cacheCategoryConfig name=UserDefinedColumns enabled=true expirationTime=14400 cacheCategoryConfig name=ObjectDefinition enabled=true expirationTime=14400 cacheCategoryConfig name=StoredProcAPI enabled=false expirationTime=600 cacheCategoryConfig name=NoNeedToFlush enabled=true expirationTime=-1 cacheCategoryConfig name=MetaData enabled=true expirationTime=14400 cacheCategoryConfig name=User enabled=true expirationTime=14400 cacheCategoryConfig name=AdapterInformation enabled=true expirationTime=14400 cacheCategoryConfig name=OrgnizationName enabled=true expirationTime=14400 cacheCategoryConfig name=Reconciliation enabled=true expirationTime=14400 cacheCategoryConfig name=SystemProperties enabled=true expirationTime=14400 cacheCategoryConfig name=LookupDefinition enabled=true expirationTime=14400 cacheCategoryConfig name=UserGroups enabled=true expirationTime=14400 cacheCategoryConfig name=LookupValues enabled=true expirationTime=14400 cacheCategoryConfig name=ITResourceKey enabled=true expirationTime=14400 cacheCategoryConfig name=RecordExists enabled=true expirationTime=14400 cacheCategoryConfig name=ServerProperties enabled=true expirationTime=14400 cacheCategoryConfig name=ColumnMetaData enabled=true expirationTime=14400 cacheCategoryConfig name=API enabled=true expirationTime=14400 cacheCategoryConfig name=CustomResourceBundle enabled=true expirationTime=-1 cacheCategoryConfig name=CustomDefaultBundle enabled=true expirationTime=-1 cacheCategoryConfig name=ConnectorResourceBundle enabled=true expirationTime=-1 cacheCategoryConfig name=LinguisticSort enabled=true expirationTime=-1 cacheCategoryConfig name=GenericConnector enabled=true expirationTime=14400 cacheCategoryConfig name=GenericConnectorProviders enabled=true expirationTime=-1 cacheCategoryConfig name=AccessPolicyDefinition enabled=true expirationTime=14400 cacheCategoryConfig name=UserConfig enabled=true expirationTime=-1 cacheCategoryConfig name=OESDefinition enabled=true expirationTime=14400 cacheCategoryConfig name=RoleContainerToDescrMap enabled=true expirationTime=-1 cacheCategoryConfig name=PluginFramework enabled=true expirationTime=14400 cacheCategoryConfig name=CallbackConfiguration enabled=true expirationTime=14400 cacheCategoryConfig name=SchedulerTaskDefinition enabled=true expirationTime=14400 cacheCategoryConfig name=UserStatus enabled=true expirationTime=14400 cacheCategoryConfig name=LocaleCodeLanguageMapping enabled=true expirationTime=14400 cacheCategoriesConfig