Agent is getting disconnected frequently
search cancel

Agent is getting disconnected frequently

book

Article ID: 216013

calendar_today

Updated On:

Products

CA Automic One Automation CA Automic Workload Automation - Automation Engine

Issue/Introduction

Below are a few error messages seen in the PWP log:

U00003413 Socket call 'send (6)' resulted in error code '104'.
20210315 / 191127.223 - Connection reset by peer
20210315 / 191127.223 - U00003413 Socket call 'send (7)' resulted in error code '104'.
20210315 / 191127.223 - Connection reset by peer
20210315 / 191127.231 - U00003388 No message was received on the connection to server 'UC4EX2 # CP006' for '703' seconds.
20210315 / 191127.232 - U00003472 Connection to server 'UC4EX2 # CP006' was closed.
20210315 / 191127.232 - U00003407 Client connection '46 (23) 'from '<ip address>: 35305' has logged off from the server.
20210315 / 191127.232 - U00003413 Socket call 'send (6)' resulted in error code '32'.
20210315 / 191127.232 - Broken pipe
20210315 / 191127.232 - U00003413 Socket call 'send (7)' resulted in error code '32'.
20210315 / 191127.232 - Broken pipe
20210315 / 191127.378 - U00003472 Connection to server 'UC4EX2 # CP005' was closed.

 

 

Environment

Release : 12.3

Component : Unix Agent

Cause

Configuration error

Resolution

Follow below resolution steps

Step1: Change TCP/IP Message Buffer from 128kB to 4MB.

Linux Environments: Set the following parameters:
 
net.core.rmem_max = 4194304
net.core.wmem_max = 4194304
net.core.rmem_default = 262144
net.core.wmem_default = 262144
net.ipv4.tcp_mem = 4194304 4194304 4194304
net.ipv4.tcp_wmem = 4096 262144 4194304
net.ipv4.tcp_rmem = 4096 262144 4194304


Step2: Change the srvquery to 1 in the ini.file

Explanation:

srvquery = Determines which process responds to the agent's life sign message

You may change the setting to 1 if you experience performance issues on the PWP. Default value allocated to this parameter is 0

Values:

0: The primary work process (PWP) responds to the agent's live sign messages. (Slower)
1: The communication processes (CPs) respond to the agent's live sign messages. (Faster)

Additional Information

https://docs.automic.com/documentation/WEBHELP/English/all/components/DOCU/21.0/Automic%20Automation%20Guides/Content/AWA/Admin/inifiles/admin_ini_automationengine.htm?tocpath=Reference%7CConfiguration%20(INI)%20Files%7C_____2