My Oracle Support Banner

JVM controller -CPU high usage when AUTO REMOVAL=CONSERVATIVE or AGGRESSIVE or MODERATE with combination of Loadbalance=RANDOM (Doc ID 2959767.1)

Last updated on JULY 06, 2023

Applies to:

Oracle Forms - Version and later
Information in this document applies to any platform.


On : version,

As per the value of AUTO REMOVAL=CONSERVATIVE or AGGRESSIVE or MODERATE with combination of Loadbalance=random

If all frmweb sessions are closed, the pool size would shrink to 2 (the Controller and 1 child).

But it doesn't happen, the child process is not getting killed once session are getting closed and due to this the JVM process is getting high utilization 100% and slowness in application.

Settings :
JVM controller name = <jvm controller name>
Maximum sessions = 200
Log Dir = <log folder>
Logging = debug
JVM Options = -Xss2m -Xms512m -Xmx1024m
JVM Classpath = $ORACLE_HOME/jlib/zrclient.jar:$ORACLE_HOME/reports/jlib/rwrun.jar
JVM Load Balance = random
JVM Auto Removal = conservative

No errors

Steps to reproduce :


1. Created JVM controller and in jvmcontroller.cfg, that max sessions is set to 4 and Autoremoval =conservative or moderate or aggressive
2. Simply set Max Sessions to 4 and launch 16 or more forms sessions (Run forms URL which calls reports).  
3. Then one at a time exit each form.  
4. When all are gone do you end up with 2 or more than two.  
5. After testing, more than two JVMs are still present and so issue reproduced.




To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.