Consolidated guide and reference for managing log files, spool data, database growth, and routine maintenance across AutoSys AE, WCC, System Agents, and EEM components.
AutoSys Workload Automation AE
Workload Control Center (WCC) / WebUI
AutoSys System Agent
Embedded Entitlements Manager (EEM) / CA Directory (dxserver)
The internal database maintenance process is critical to prevent the database from reaching storage limits, which would halt AutoSys operations.
Standard DBMaint: AutoSys runs a daily maintenance script configured by the DBMaintCmd and DBMaintTime parameters in the $AUTOUSER/config.$AUTOSERV file.
archive_events: Removes processed events and associated alarms (e.g., historical finished jobs).
archive_jobs: Deletes obsolete job definitions/versions.
dbstatistics: Updates database statistics for the optimizer to maintain fast query performance.
Archived File Cleanup: By default, data purged from the database is written to flat text files in $AUTOUSER/archive.
Note: There is no automated product cleanup for these flat files. Administrators must manually compress, archive, or delete files in $AUTOUSER/archive periodically.
Database Space Monitoring: Use the dbspace command to monitor the space consumed by AutoSys objects in the database and collaborate with your DBA as needed.
Best Practice: Schedule DBMaint during low-activity windows. If maintenance windows cause performance impact, consider splitting execution into shorter, multi-time-per-day runs.
The Scheduler and Application Server generate high-volume activity logs over time.
Log Rollover: Configure the LOGROLLOVER setting in $AUTOUSER/config.$AUTOSERV to automatically roll over log files and prevent multi-gigabyte log accumulation.
Manual Cleanup: Periodically compress, archive, or purge older log files located in $AUTOSYS/out.
Agent spool files and job output logs (stdout / stderr) can fill up local agent disk space rapidly.
Auto-Cleanup for Successful Jobs: Enable automatic deletion of output logs for successful jobs by setting the following parameter in agentparm.txt on all agents:
oscomponent.joblog.success.autocleanup=true
Failed Job Log Retention: By default, agents retain spool files and output logs for failed jobs for 7 days to assist in troubleshooting. Adjust retention duration in agentparm.txt using:
runnerplugin.spool.expire=7d
Unmaintained WCC database tables and unused views can degrade user interface performance.
Monitoring Views Cleanup: Remove unused or orphaned "private" monitoring views left by former users:
Export monitoring views using wcc_monitor.sh (Linux/Unix) or wcc_monitor.bat (Windows).
Modify the output file, changing insert_ statements to delete_.
Import the file back into WCC using the wcc_monitor utility.
Refer to the WCC Administer the Configuration Batch Interface Documentation for detailed syntax.
Collector & Reporting Cleanup:
Collector DB Cleanup: Navigate to WCC UI -> Configuration -> Preferences -> Collector.
Reporting DB Cleanup: Navigate to WCC UI -> Configuration -> Preferences -> Reporting -> Database Cleanup.
Log file behaviors and database sizing considerations for EEM dependencies:
EEM Application Logs:/opt/CA/SharedComponents/EmbeddedEntitlementsManager/logs
Logs in this directory are circular by default and do not require manual cleanup.
CA Directory Logs:/opt/CA/SharedComponents/CADirectory/dxserver/logs
Logs in this directory are non-circular and generate a new file daily. They tend to be small, but should be included in periodic log cleanup checks.
iTechnology Logs:/opt/CA/SharedComponents/iTechnology/*.log
These logs do not clean up automatically, but usually consume minimal disk space.
iTechPoz Data Store Space:
Currently, automatic database cleanup and autoextend capabilities are not enabled out-of-the-box for itechpoz.
Monitor disk space usage in /opt/CA/SharedComponents/CADirectory/dxserver/logs and manually extend the database files if disk capacity becomes constrained.
To speak with a customer representative or a Support Engineer see Contact Support. Scroll to the bottom of the page and click on the respective region.