In certain situations, which has more commonly been found during an upgrade of EM from an older release to newer 9.1.x release, the EM would start up but
would soon trigger an orderly shutdown due to stack overflow, with following error seen in the IntroscopeEnterpriseManager.log:
[ERROR] [ServicesCheck.Thread1] [Manager] Uncaught Exception in Enterprise Manager: In thread ServicesCheck.Thread1 and the message is java.lang.StackOverflowError
[VERBOSE] [ServicesCheck.Thread1] [Manager] Uncaught Exception in thread ServicesCheck.Thread1
Lowering the rows fetched by a query will prevent overflowing EM stacks.
The impact will be that lesser rows will be fetched per query and it may require more time/query cycle to fetch more rows. However the change comes with
the more significant benefit of preventing the EM from crashing.
To lower the rows fetched per query, please add the following entry to the EM_HOME/config/tess-customer.properties file. If this file does not already
exist create it according to the instructions for modifying the tess-default.properties file in the Configuration and Administration Guide:
Then restart the EM. If 5000 is not low enough, try 1000.
This issue has been addressed in APM release 220.127.116.11 and onwards, by reducing the default value for the db.rowsFetchedPerQuery property to 5000 in the