Troubleshooting and tuning SAS® Stored Process Server and SAS® Pooled Workspace Server load balancing for SAS® Marketing Automation releases


This SAS KB article provides some tuning tips for SAS Stored Process Server with a MultiBridge connection and SAS Pooled Workspace Server load balancing for SAS Marketing Automation campaigns. Most installations of SAS Marketing Automation benefit from a review of these settings. However, these tips are especially important if SAS® Customer Intelligence Studio or SAS Marketing Automation becomes slow or unresponsive.

This SAS KB article is valid for SAS Customer Intelligence releases 5.3 through 6.6.

SAS® Stored Process Server Settings

SAS® Pooled Workspace Server Settings

The way in which pooled workspace and stored-process servers are leveraged changed in SAS Customer Intelligence 6.1. The system decides, based on workload, whether to run a stored process on the stored-process server or the pooled workspace server. Because of this, you might need to configure more pooled workspace servers to cope with the extra load. The stored-process servers should be configured as discussed previously in this note.

A good starting place is to configure 30 MultiBridge connections for the stored-process server and increase the value for Server process maximum for the pooled workspace server to 30.

Because SAS Customer Intelligence 6.1 leverages the pooled workspace servers for many of the stored processes, there might be a need to increase the maximum number of pooled workspace-server connections that are available.

This change was reversed in SAS Customer Intelligence 6.3. However, you can configure the system to use the pooled workspace servers as per release 6.1 by adding the option -Dsas.ci.stp.workspace.enabled in the start-up script for SAS® Web Application Server.

To see images that show these pooled-workspace and stored process server settings, see SAS KB0036181, "Configuring SAS® Pooled Workspace and SAS® Stored Process servers for optimal performance with SAS® Customer Intelligence."

Considerations for Configuring Stored Process and Pooled Workspace Servers under Windows

The SAS® 9.2 object spawner launches all servers in a single Windows desktop heap. If too many stored process servers and workspace servers are launched, this can have negative implications on system resources. For more details about those implications, see the following SAS Notes:

So for SAS 9.2, a best practice is to initially configure the system so that no more than 50 workspace and stored process servers can be running concurrently. The system should then be monitored and tuned as it matures.

For SAS® 9.3 and SAS® 9.4, this configuration is not so critical because the object spawner allocates separate Windows desktop heap sessions for every 20 spawner-server processes. Overall, available memory should still be considered when you tune these servers.

You need to restart the object spawner after making changes to the pooled workspace-server and stored-process server options.