ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

autorep command very slow

book

Article ID: 40614

calendar_today

Updated On:

Products

CA Workload Automation AE - Business Agents (AutoSys) CA Workload Automation AE - Scheduler (AutoSys) Workload Automation Agent

Issue/Introduction

We are experiencing intermittent slow autorep -J <jobname> responses despite:

Rebuilding database indexes.
Restarting the instance Application Servers.

Cause

In EEM-enabled instances, the Application Server keeps a local cache of EEM policies in memory. If this cache becomes stale, it can cause intermittent performance issues with autorep. This could sometimes lead to unexpected access denies for the user who has valid access to the objects in EEM.

Environment

Release: ATSYHA99000-11.3.6-Workload Automation AE-High Availability Option
Component:

Resolution

Add the following setting in $AUTOUSER/autosys.sh.<hostname>: 

AS_IAM_CACHE_UPDATE=300; export AS_IAM_CACHE_UPDATE 

 

Restart the Application Server service

The parameter AS_IAM_CACHE_UPDATE sets the interval (in seconds) for the Application Server to update its EEM cache.