Tuning Redwood Server

Tuning allows you to customize the behavior of Redwood Server as well as lower the pressure on SAP Systems.

Tuning Redwood Server

Redwood Server Can be customized by modifying the three Submit Frames of the following built in Process Definitions:

By default, these processes are submitted every 15 minutes, you may increase or decrease this by changing the interval of the Submit Frame.

More information about Submit Frames can be found in the user guide.

Tuning SAP connections

SAP RFC connections can be tuned, although the default behavior should be ideal for most, if not all implementations. The RFC library in SAP NetWeaver is limited to 404 concurrent RFC connections by default, this can be changed by setting the jco.cpic_maxconv Java property, please see the SAP documentation for more information and SAP Note 2124330.

By default, Redwood Server will open as many RFC connections as required to process the load of jobs. Ideally, Redwood Server would use two or less. However, heavy load and multiple concurrent jobs can require more RFC connections, in which case these will be opened; they are closed again after a predefined idle time. If your SAP System is running slow, and the bottleneck has been identified as a high number of open RFC connections, then you can limit the maximum amount of open RFC connections for XBP, XAL and XMW. Note that this can influence the schedule of jobs controlled by Redwood Server.

There is always one reserved RFC connection that the service uses to connect to the SAP System, additionally, there can be one or more RFC connections for every interface. When you tune the RFC connections, bear this extra RFC connection in mind.

RFC connections are mostly used to create and start jobs, like an SAP_AbapRun process, and are closed after an idle time. Import jobs, however, like SAP_ImportCcmsJobs, will use an RFC connection until the process finishes and the idle time has been reached. There is also a pool of RFC connections that is used to monitor jobs and retrieve job output as well as log files; by default, the maximum pool size is set to 10 and RFC connections will be opened as required until the maximum value has been reached.

When Redwood Server is not monitoring, starting jobs or retrieving output, there should only be one RFC connection open after the idle time of the other RFC connections.

Procedure

To edit the Submit Frame of the process System_UpdateJobStatistics

  1. Choose "Environment > Submit Frames".
  2. Choose Refresh to update the list.
  3. From the context menu of the System_UpdateJobStatisticsSubmitFrame Submit Frame, choose Edit.
  4. Choose The Elements tab and edit the value after Every Number of as well as the unit, if required.
  5. Click Save & Close.

To edit the maximum numbers of RFC connections of an SAP System connection

  1. Choose "Environment > SAP".
  2. Choose the Refresh button to update the list.
  3. Choose Edit from the context menu of the SAP System to edit.
  4. Choose The XBP tab and edit the value after Max. number of RFC connections.
  5. Click Save & Close.

Example

  1. Choose "Environment > Submit Frames".
  2. Choose Refresh to update the list.
  3. From the context menu of the System_UpdateJobStatisticsSubmitFrame Submit Frame, choose Edit.
  4. Choose The Elements tab and enter the following value in the Every Number of field 1, for the Unit field choose Days.
  5. Click Save & Close.

To edit the maximum numbers of RFC connections of an SAP System connection

  1. Choose "Environment > SAP".
  2. Choose Refresh to update the list.
  3. From the context menu, choose Edit.
  4. Choose The XBP tab and enter the following value after Max. number of RFC connections, 10.
  5. Choose the Save & Close button to save changes and leave the editor.

Result of the Example

System_UpdateJobStatistics

The Process Definition System_UpdateJobStatistics is run once a day and no longer every 15 minutes. This has an advantage if you do not need up-to-date Process Definition statistics. Shortly after the initial deployment it is very handy to monitor Process Definition statistics to get an idea of the real load on the system as well as other information.

RFC connections

The maximum number of RFC connections has been set to 10 for XBP only. If you are using XAL and/or XMW the RFC connections can still increase, you may limit those connections in similar way, on the XAL or XMW tab of the SAP System.