Process Automation orchestrator slow performance when agent service is started.
search cancel

Process Automation orchestrator slow performance when agent service is started.

book

Article ID: 5984

calendar_today

Updated On:

Products

CA Process Automation Base

Issue/Introduction

Process Automation Orchestrator sluggish.  Seeing high CPU usage on the orchestrator system where an agent is also installed.  If the agent service is stopped the CPU usage goes back to normal and Orchestrator performance goes back to normal.   

Environment

Windows 2012

One Orchestrator

Cause

Agent logs are filled with: 

2017-02-22 14:18:13,205 ERROR [com.optinuity.c2o.transport.PAMWebSocketClient] [SReconnectTimer] Unable to establish a web-socket connection to URI :: wss://[PAM-HOSTSERVER]:443/ws?uuid=228fb3ab-70da-468f-af15-3c5795bbcee5&IsClusterPropsRequired=false. Trying again... 
java.util.concurrent.ExecutionException: java.net.ConnectException: Connection refused: no further information 
at org.eclipse.jetty.websocket.WebSocketClient$WebSocketFuture.get(WebSocketClient.java:569) 
at org.eclipse.jetty.websocket.WebSocketClient$WebSocketFuture.get(WebSocketClient.java:372) 
at com.optinuity.c2o.transport.PAMWebSocketClient.connect(PAMWebSocketClient.java:259) 

Issue with agent communicating with the orchestrator.

 

Resolution

There are two types of communication agents use:

  • Simplified Communication
    Simplified communication uses web sockets and HTTP to produce a one way, persistent connection from the agent to the Orchestrator. CA Process Automation uses a standard port (80 or 443) that provides a fast connection between the components.
  • Deprecated Communication
    Deprecated communication, which uses multiple ports, is not as firewall- or NAT router-friendly as simplified communication. The Orchestrator-initiated connections that are used in deprecated communication are not as efficient as the persistent connections used in simplified communication.

Changed the agent to use simplified communication:

1. Login to Proc Auto. 
2. Click the Configuration tab and expand Agents on the Configuration Browser palette. 
3. Select the agent for which to switch communication and click Lock. 
4. Select the Properties tab for the selected agent. 
5. Find the Deprecated Communication check box. 
6. Uncheck it.
7. Select the agent and click Unlock. 

Additional Information