Webserver as well as Appserver thread connection problems

Posted on 2006-04-28
Last Modified: 2013-12-10
Hi ,
       What can be done inorder to see that the server does not go down due to error in the thread connections(error like:" Thread servlet  engine transports :4 " has been active for some time in milliseconds and may be hung.,there are totally some threads in total in the server that may be hung). What can be done in order to see that the server may not crash. What is te best thread pool configurations for Websphere Application Server 5.0 on Wintows box as well as Webserver's Thead child parameters, to be configured, Or, is the problem with the application deployed on the server ??
   Please let me know the best solution for my issue.

Question by:pavan_immadi
    LVL 23

    Accepted Solution


    To resolve a crash that is caused by a stack overflow, do the following:
    1. In the example above, try increasing the Java stack (-Xoss1m). For stack overflows that are caused by native stack exhaustion, use -Xss1m. If the server still crashes with an identical current thread, then the stack overflow is caused by a recursion in either the JIT or the application code.
    2. Upgrade the JDK. If the stack overflow is caused by JIT, upgrading the JDK might resolve the issue.
    3. Skip the methods that appear to be looping (see “Skip the failing method” on page 10 from below link).
    In the example above, we would try skipping the following:
    4. If these actions do not resolve the problem, then the problem is most likely a recursion in the application code. The owners of the code should be asked to review their code for the cause of the loop.

    LVL 23

    Expert Comment

    look at here also..

    JMX library code was fixed to properly handle HashMap object so it is thread safe.


    Author Comment

    How can I increse the java stack (-Xoss1m) or how to use -Xoss1m.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    -Xmx and -Xms are the two JVM options often used to tune JVM heap size.   Here are some common mistakes made when using them:   Assume BigApp is a java class file for the below examples. 1.         Missing m, M, g or G at the end …
    Upgrading Tomcat – There are a couple of methods to upgrade Tomcat is to use The Apache Installer is to download and unzip and run the services.bat remove|install Tomcat6 Because of the App that we are working with, we can only use Tomcat 6.…
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    9 Experts available now in Live!

    Get 1:1 Help Now