Tune a workload management configuration

 

+

Search Tips   |   Advanced Search

 

Overview

You can set values for several workload management client properties to tune the behavior of the workload management runtime.

You set the properties as command-line arguments for the JVM process in which the workload management client is running.

Set the values of these properties only in response to problems that you encounter. In most cases, you do not need to change the values. If workload management is functioning correctly, changing the values can produce undesirable results.

To change the property values, you can use the Java virtual machine page of the console or wsadmin commands. In cases such as where a servlet is a client to an enterprise bean, use the console page for the appserver where the servlet is running to configure the properties. The steps below describe how to change the values using the console.

 

Procedure

  1. Access the Java Virtual Machine page.

    Servers | Application Servers | server | Java and Process Management | Process Definition | Java Virtual Machine

  2. Specify one or more of the following command-line arguments in the Generic JVM arguments field:

    • -Dcom.ibm.CORBA.RequestTimeout=timeout_interval

      Specifies the timeout period for responding to requests sent from the client. Change if applications are experiencing problems with timeouts.

      timeout_interval is the timeout period in seconds. If your network experiences extreme latency, specify a large value to prevent timeouts. If you specify a value that is too small, an appserver that participates in workload management can time out before it receives a response.

      Be careful specifying this property; it has no recommended value. Set it only if your application is experiencing problems with timeouts.

    • -Dcom.ibm.websphere.wlm.unusable.interval=interval

      Specifies the time interval that the workload management client runtime waits after it marks a server as unavailable before it attempts to contact the server again. Change if the workload management state of the client is refreshing too soon or too late.

      interval is the time in seconds between attempts. The default value is 300 seconds. If the property is set to a large value, the server is marked as unavailable for a long period of time. This prevents the workload management refresh protocol from refreshing the workload management state of the client until after the time period has ended.

  3. Click OK and Save to save the configuration changes.

  4. Stop the application server and then restart the appserver.



Balancing workloads with clusters
Configure the JVM