To maintain storage space, it is important to clear spool files regularly, because the agent does not clear them by default.
Release: Any
Component: Workload Automation System Agent
It is important to clear spool files regularly. The WA Agent can be configured 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=<agent_install_dir>/spool
Add the following parameters in agentparm.txt to enable automatic cleanup of spool
runnerplugin.spool.clean.enable=true
runnerplugin.spool.expire=7D
runnerplugin.spool.sleep=24
The first setting enables automatic cleanup. The second setting allows the agent to retain a spool for up to seven days. The last setting tells the agent to clean the spool once every 24 hours.
The spool directory location can be outside of WA Agent install directory. The spool can be put in a remote file-share, such as NFS and Windows file-share. The remote path must be accessible and writeable by the agent.