Polling Mode Reports Slow over Time and Eventually Hang (Doc ID 1644428.1)

Last updated on APRIL 09, 2014

Applies to:

Oracle BAM (Business Activity Monitoring) - Version 11.1.1.6.0 and later
Information in this document applies to any platform.

Symptoms

On : 11.1.1.6.0 version, Performance

A BAM Report which uses calculated fields on top of aggregate functions (sum, count etc) generates a new .class file every time that BAM polls data.  These files fill the WebLogic temporary directory causing the application to progressively slow down.
 
STEPS
-----------------------
The issue can be reproduced with the following steps:

1.On BAM Active Studio open Call Center Demo
2.Click Edit to start changng the report
3.Select "Calls by Product and Region (Last 8 Hours)" view, the one with the
pie chart, and click Edit View
4. Click the Calculation tab and add 3 calculations:
 a) formula: sum(Capacity)
         name: SumCapacity
 b) formula: count({Call ID})
         name: CountCallId
 c) formula: CountCallId / SumCapacity
         name: CapacityFactor
5. Apply your changes
6. Change each view of the dashboard to use poll mode (Gauge view don't have
this option, so leave it as it is)

  Edit View link -> Properties -> Active Data -> Poll Mode = 15 Secs

7. Change dahsboard to use poll mode

  Change report properties link->Active Data -> Settings tab -> Refresh
Interval = 15 Secs

8. Save your report.
9. Start Monitoring the folder where the classes are generated:

cd
../Middleware/user_projects/domains/<domain>/servers/<bamserver>/tmp/_WL_user/
oracle-bam_11.1.1/*/war/WEB-INF/lib

check the number of .class and .java files created on that directory

You can use the following command to count the number of files:

find . -name "*.class" |wc -l
find . -name "*.java" |wc -l

10. Open Call Center Demo on Active Viewer
11. Notice that every time that BAM polls, the number of files increase under
the directory mentioned in step 9



Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms