Hi All,
We could see a huge number of inactive or standby threads created in the managed server, due to this behavior the server become unresponsive and we need to bounce the server. How threads are handled in SOA INFRA. If the composite execution is completed whether the thread would be released or it would become inactive or standby threads. Please confirm.
We suspect that in a java embedding activity we are invoking a web service, then we have Thread.sleep(2000); but once we get response from the web service, ideally the loop should break or terminate.
do {
invoke a web service;
Thread.sleep(2000);
get the response from web service;
}while (validating the response && loop iterator);
We get response from the web service and further invocations are executed properly and the process ends. If it is an infinite or continuous loop it keep sending the response and the further invocation should be repeated. But we don't see this behavior, also the huge volume of threads are created in the same server. We have a 3 node cluster and this behavior is seen only in the same managed server almost every week.
Can anyone help us to avoid this behavior. We have also raised an SR with Oracle Support and they are analyzing it.
Regards,
Maanik