ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Close Process Streams variable in awenv.ini

book

Article ID: 88742

calendar_today

Updated On:

Products

CA Automic Applications Manager (AM)

Issue/Introduction

Close Process Streams variable in awenv.ini

Environment

Release: AAMOS499000-8.0-Automic Applications Manager-OS400 Agent
Component:

Resolution

Detailed Description and Symptoms
 
CloseProcessStreams variable in the awenv.ini file 

Investigation

?Agents go to SRVC DOWN

When you add the CloseProcessStreams variable to awenv.ini, we launch an additional java thread in the AgentService process. It monitors all open processes on the box (like an open ofile, pm file, pr file, any sh <file name>, etc.) and depending on the amount of activity being processed on the Agent this list can be quite long.

 

It may be necessary to set this variable to ensure that there is enough time to process jobs and ensure they are no longer running and close the stdout, stderr and stdin streams. On some Operating Systems, such as Solaris machines, open file handles are not being closed by our AgentService process, therefore we recommend that CloseProcessStreams be set to 300 (or 5 minutes). That way it polls through the list every 5 minutes and gives the AgentService enough time to process jobs and close their open processes.


Solution

?Add CloseProcessStreams=300 to the awenv.ini file