Broken Pipe Error in CA WA Agent Logs
search cancel

Broken Pipe Error in CA WA Agent Logs

book

Article ID: 7916

calendar_today

Updated On:

Products

CA Workload Automation AE - Business Agents (AutoSys) CA Workload Automation AE - Scheduler (AutoSys) Workload Automation Agent

Issue/Introduction

We have an agent that the scheduler can autoping successfully but the application server cannot. In the agent's transmitter.log, we see a lot 'Broken Pipe' errors but the agent is executing jobs successfully.

Environment

CA Workload Automation AE r11.3.6+

Cause

Broken pipe errors occur when the agent tries to transmit a message about a job on a channel of communication that is already closed (meaning the agent has already sent a completed job status back to the scheduler).

 

EXAMPLE

You have a batch job that runs SQL commands. The batch job is executed and completes but there was an error about a failed database insert. The agent transmits a message back to the scheduler saying the job has completed execution and closes the conversation BEFORE transmitting the message about the failed database insert. The agent will continue to try and transmit the message about the error but will never be able to. 

 

Resolution

Restarting the agent service and/or rebooting the server will not flush out this error message. To clear out the untransmitted message, perform a cold start on the agent: 

1. Stop the agent service 

2. Rename the database, log and spool directories 

3. Restart the agent services (which will re-create the database, log and spool directories)