We are using OC4J 10g R3 (10.1.3.4) on SUN SOLARIS servers having CPU of 16 GB RAM.
Under an OC4J (user-defined) instance, we configured 4 JVMs with 2GB of initial and max Heap sizes on all of them.
Now, sporadically, we are facing situations like the ACTIVE REQUESTS that come into the server are not getting distributed equally.
Eg. If a total of 20 requests coming into the server, (JVM1 >> 1 request,JVM2 >> 1 request,JVM3 >> 1 request,JVM4 >> 17 requests).
Due to this the Heap size usage of the JVM4 is almost nearing or even touching the max of 2 GB and causing severe performance problems.
As per mod_oc4j.conf file, ROUND ROBIN is being used.
Firstly, why do the distribution of ACTIVE REQUESTS across JVMs is unequal and how to make them evenly distributed.