search cancel

Close Process Streams variable in awenv.ini


Article ID: 88742


Updated On:


CA Automic Applications Manager (AM)


Close Process Streams variable in awenv.ini


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


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


?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.


?Add CloseProcessStreams=300 to the awenv.ini file