Pipelines Take a Long Time to Complete

Description

There are several factors that can influence the performance of a pipeline run. In some circumstances, if there are a lot of users running pipelines at the same time, node execution time can be affected. By default, a maximum of five users can run the modeling nodes simultaneously. For any additional users, the modeling nodes are placed in Pending state until a run completes and another node can be started.

Solution

To change the number of users that can concurrently run pipelines, the administrator can update the Maximum Current Nodes configuration property. The instructions for updating this property depend on the level of the SAS Viya platform that you are using.

SAS Viya Platform 2022.10 or Prior Release

  1. Click Show applications menu in the upper left corner and select Manage Environment.

    This opens SAS Environment Manager.

  2. In the left side toolbar, click the Configuration icon.

    The Configuration page opens.

  3. On the left side, click the View drop-down list and select All services.
  4. In the list of services, select Advanced Analytics Flows service. You can find it faster by entering the service name in the Filter field.

    On the right side of the page is a list of instances used to configure the service.

  5. Scroll down to the sas.analytics.flows instance and click Edit.
  6. In the Edit sas.analytics.flows Configuration window, scroll down to Maximum Concurrent Nodes.

    This is set to 5 by default. If you set this too high, many of the platform services can become highly stressed and fail. Start with setting this slightly higher, perhaps 6 or 7. If you do not see a significant impact on node execution time, you can repeat these steps to raise it a little higher.

  7. Click Save.

SAS Viya Platform 2022.11 or Later Release

  1. Click Applications menu in the upper left corner and select Manage Environment.

    This opens SAS Environment Manager.

  2. In the left side toolbar, click the Configuration icon.

    The Configuration page opens.

  3. On the left side, click the View drop-down list and select All services.
  4. In the list of services, select Analytics Excecution service. You can find it faster by entering the service name in the Filter field.

    On the right side of the page is a list of configuration instances used to configure the service.

  5. Click Collapse all

    If the sas.analytics.execution configuration instance is listed, click Edit to the right and proceed to step 6. Otherwise, follow these steps.

    1. In the New sas.analytics.execution Configuration window, click the New Configuration.
    2. In the Select Definition window, select sas.analytics.execution to create the configuration instance.
  6. Scroll to Maximum Concurrent Nodes property.

    This is set to 10 by default. If you set this too high, many of the platform services can become highly stressed and fail. Start with setting this slightly higher, perhaps 12 or 14. If you do not see a significant impact on node execution time, you can repeat these steps to raise it a little higher.

  7. Click Save.
Last updated: March 16, 2026