One or more of the following symptoms can be observed:
This article deals with the most common and successful measures to tune component performance, optimize database connections, streamline security policies, and maintain system objects to restore or improve performance.
AutoSys Workload Automation, AutoSys Web UI (WCC), CA Embedded Entitlements Manager (EEM)
AutoSys Workload Automation supports high scalability. When running on high-end computers, you can tune the Scheduler, Application Server, and Web UI to make efficient use of CPU, memory, and database connections. However, overall system performance is heavily dependent on the sheer volume of defined objects, historical data retention, and the complexity of external security evaluations.
A well-maintained database is the foundation of a performant AutoSys and WCC environment. Unnecessary historical data significantly degrades database performance, increasing query times and slowing down the Event Processor.
archive_events Utility:
ujo_event, ujo_proc_event, ujo_alarm,ujo_job_runs,ujo_extended_jobrun_info,ujo_audit_info,ujo_audit_msg) to archive tables, or deletes them.archive_events daily. During peak loads, consider running it more frequently. Retain only the minimum required events in the active tables (typically 1 to 3 days, depending on event volume).Database Maintenance (DBMaint):
DBMaint is the correct wrapper utility that kicks off several archive_events runs with different options (jobs, events, audit tables, etc.).DBMaint is configured correctly in your environment to maintain database health.Database Level Maintenance:
ujo_job, ujo_job_runs, and ujo_event. Note that DBMaint also handles dbstatistics as part of its execution.reindex.pl script which can be used as a reference or executed to rebuild indexes. However, DBAs can also perform online index rebuilding natively within the database to avoid downtime.wcc_config) and set aggressive but compliant retention periods for the WCC databases (Reporting, Monitoring, etc.).Embedded Entitlements Manager (EEM) is critical for WCC and AE security. Poor EEM performance directly impacts UI responsiveness and command-line execution times.
safex utility.autoaggr)Before diving into configuration changes, it is crucial to establish a performance baseline and identify actual bottlenecks.
autoaggr utility regularly to generate aggregate statistical data from the ujo_job_runs and scheduler tables. Aggregatestatistics must be enable to allow these statisticsautoaggr or autorep), it is essential to understand the key latency metrics:STARTING event and its subsequent RUNNING event.STARTJOB event and the first STARTING event processed.Optimizing resource allocation allows AE and WCC to handle higher workloads concurrently.
DB_CONNECTIONS):DB_CONNECTIONS environment variable in the $AUTOUSER/autosys* profile scripts (e.g., autosys.sh.$HOSTNAME). Monitor database wait times. If the Schedulers or Application Servers are waiting on DB connections, bump these values highter. Ensure the backend database (Oracle/SQL Server) is configured to handle the maximum sum of connections from all AE instances.SCHED_SCALE):SCHED_SCALE environment variable in the $AUTOUSER/autosys* profile scripts. A higher thread count allows parallel processing of events, but setting it too high can cause context-switching overhead. Tune this based on CPU core availability and event throughput. For more details see Scheduler Settings and Application Server Settingsserver.xml):maxThreads: Increase the default maxThreads (often 200) to 400 or 800 if you have many concurrent WCC users experiencing UI hangs.acceptCount: Increase acceptCount to queue more incoming requests when all threads are busy, preventing immediate "Connection Refused" errors.connectionTimeout: Set a reasonable connection timeout (e.g., 20000ms) to drop stale connections.maxActive, maxIdle, maxWait). Ensure maxActive is high enough to support the Tomcat maxThreads during peak reporting or monitoring usage.Proper JVM tuning prevents "Out of Memory" errors and reduces UI pauses caused by Garbage Collection.
wrapper.conf):wrapper.java.initmemory (-Xms) and wrapper.java.maxmemory (-Xmx). Set them to the same value (e.g., 4096M or 8192M) to prevent the JVM from constantly resizing the heap. Ensure the host OS has sufficient physical RAM to avoid swapping.-XX:+UseG1GC to the wrapper configuration. G1GC is optimized for large heaps and minimizes application pause times, making the WCC UI feel much more responsive.-XX:+HeapDumpOnOutOfMemoryError and -XX:HeapDumpPath=<path> to capture memory dumps for root cause analysis if a crash occurs.Stale configuration data acts as dead weight in the system.
Regular backups of your scheduling configuration and audit data ensure you can quickly recover from accidental modifications without needing a full database restore.
autorep -J ALL -q > jobs.jil and autorep -M ALL -q > machines.jil (as well as calendar exports). Storing these JIL dumps in a version control system (e.g., Git) provides a reliable, trackable history of your environment's configuration.autotrack audit data is being backed up regularly. This data is vital for compliance and troubleshooting (tracking who changed what and when), and should be preserved even if older records are purged from the live database.
scheduler and Application Server) and WCC Tomcat logs (catalina.out, wcc.log). Unchecked log growth can exhaust disk space, causing hard crashes. Use OS-level logrotate or application settings to keep 7-14 days of logs and archive/compress the rest.Agents with high job volumes must be tuned so they do not become bottlenecks in the scheduling lifecycle.
oscomponent.jvm.x.options):oscomponent.jvm.x.options=-Xmx1024m;-Xms256m in agentparm.txt to prevent out-of-memory errors and excessive Garbage Collection pauses.agentparm.txt by setting:oscomponent.spool.clean.enable=trueoscomponent.spool.clean.expire=7D (to clean files older than 7 days)oscomponent.spool.clean.sleep=1D (to run the cleanup cycle once a day)ClearSpool utility as a recurring job.agentparm.txt. In addition, couple of key ones are documented here.Network lag or latency between the core components is the silent killer of AutoSys performance. Even minor delays can severely impact job throughput when multiplied across millions of transactions.