Thread Count increases with OFBiz deployed on JBoss Server

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Thread Count increases with OFBiz deployed on JBoss Server

Neha Mehta

Hi,

 

I have been observing that number of threads continue to keep on increasing when OFBiz is deployed on JBoss. When given a specific load through JMeter, the application crashes after some number of hours.

 

Is this due to the reason that threads go into sleep state as per the code written in GenericXAResources.java file?

 

public void run() {

        try {

            timeout = null;

            if (timeout != null) {

                // sleep until the transaction times out

                sleep(timeout.intValue() * 1000);

                    …………………………..

                                                                                     

Why is the thread put to sleep in this case?

Where as when OFBiz is deployed on tomcat, the thread count does not rise exponentially…

Is there any other cause of these?

 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Thanks & Regards,

Neha Mehta

Innovation Group - L&T Infotech | Mumbai

Contact : 02267954324 

 



This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system.

______________________________________________________________________