How to Maintain the System Agent Spool Files to a desired threshold.

Document ID : KB000044187
Last Modified Date : 14/02/2018
Show Technical Document Details

Summary:  

The output for workload is stored in spool files that the agent software generates. The spool files are limited in size by the available space on the file system where they reside. To maintain storage space, it is important to clear spool files regularly, because the agent does not clear them by default. You can configure the agent to clear spool files automatically.

Spool files are kept under the spool directory that is specified in the agentparm.txt file, which, by default is in the installation directory:

spooldir=C:/Program Files/CA/WA Agent R11.3.1/spool

You can change the spool directory location. Remote fileshare, such as NFS and Windows fileshare, is also supported. The remote share must be accessible and have read and write permissions for the user that starts the agent.  It is recommended to enable the spool directory cleanup on daily basis by using the settings in the instructions below.

Instructions: 

The first setting enables automatic cleanup. The second setting allows the agent to retain a spool for up to 10 days.  The last setting tells the agent to clean the spool once every 24 hours.

runnerplugin.spool.clean.enable=true

runnerplugin.spool.expire=10D

runnerplugin.spool.sleep=24

Additional Information:

If you require additional information, please refer to the following link https://docops.ca.com/ca-wla-agents/1134/en/administrating/maintaining-spool-and-log-files/spool-file-maintenance#SpoolFileMaintenance-ConfiguretheAgenttoClearUNIXSpoolFilesAutomatically  under CA Workload Automation Agents - 11.3.

 

 

As always, please contact CA 7 support if you have further questions.