Application server performance tuning
search cancel

Application server performance tuning

book

Article ID: 219624

calendar_today

Updated On:

Products

CA Strong Authentication CA Advanced Authentication CA Risk Authentication

Issue/Introduction

In order to finish the upgrade procedure, require assistance with the below:

Perform performance recommendations to the JBoss Application Server in the production environment, according to Performance Recommendations. What changes should be applied when using the JBoss application server (7.1 eap)?

  • The documentation gives an example to Apache Tomcat and says that “Similar configurations can be done for other app servers based on the platform support matrix”, but you are not able to properly adjust the instructions to the JBoss Application Server. Can you provide Performance Recommendations to JBoss Application Server 7.1 EAP?

Environment

  • Release : 9.1
  • Component : AuthMinder(Arcot WebFort)

Resolution

The following example describes the performance tuning process on the JBoss Application Server

  1. Set the JVM settings:

    Windows:

    1. Navigate to <JBOSS_HOME>\bin

    2. Open standalone.conf.bat for editing.

    3. Set the JVM parameters in JAVA_OPTS with the following recommended values:
       JVM Minimum Heap Size: 8192 MB
       JVM Maximum Heap Size: 8192 MB

    4. set "JAVA_OPTS=-Xms8192m -Xmx8192m"

          Linux:

    1. Navigate to <JBOSS_HOME>/bin

    2. Open standalone.conf for editing.

    3. Set the JVM parameters in JAVA_OPTS with the following recommended values:
      JVM Minimum Heap Size: 8192 MB
      JVM Maximum Heap Size: 8192 MB
      JAVA_OPTS="$JAVA_OPTS -Xms8192m -Xmx8192m"

  1. Configure the maximum threads to 800 add io-threads="800" as below

    1. Navigate to <JBOSS_HOME>\standalone\configuration

    2. In standalone.xml update the threads: 

       <subsystem xmlns="urn:jboss:domain:io:2.0">
         <worker name="default" io-threads="800"/>
         <buffer-pool name="default"/>
       </subsystem>