000036146 - RSA Adaptive Authentication (on Premise) - Offline Tasks gets stuck after JBoss Upgrade from 5.2 to 6.4

Document created by RSA Customer Support Employee on Mar 16, 2018
Version 1Show Document
  • View in full screen mode

Article Content

Article Number000036146
Applies ToRSA Product Set: Adaptive Authentication (OnPrem)
RSA Version/Condition: 7.3 and later
Application Server: JBoss 6.4
IssueA customer reported that Offline Tasks gets stuck and fails to complete with no errors in aa_re.offline.log. The last INFO message in the log was Start calculate scores for old day and it never progressed

INFO [com.rsa.re.offlinetasks.tasks.normalization.ScoreNormalizationOnEventBuckets] --- Start calculate scores for old day: 20180302

CauseCustomer has enabled NormalizationDynamicTimeframeEnabled

INFO  [com.rsa.risk.config.operational.ConfigParam] CRE operational configuration change:
NormalizationDynamicTimeframeEnabled                   = <true>            (non default)

After checking the logs, looks like the customer has enabled the NormalizationDynamicTimeframeEnabled from Risk Engine Configuration. This creates more number of threads (1000 more) than what is recommended in the default work manager configuration for JBoss 6.4

After increasing the queue size to 8000 in standalone.xml as below the issue is resolved

<workmanager name="OfflinetaskThreadPool">
                <short-running-threads allow-core-timeout="false">
                    <core-threads count="50"/>
                    <queue-length count="8000"/>
                    <max-threads count="100"/>
                    <keepalive-time time="20000" unit="seconds"/>