[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 433
  • Last Modified:

Webserver as well as Appserver thread connection problems

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.


Regards,
Pavan.
0
pavan_immadi
Asked:
pavan_immadi
  • 2
1 Solution
 
rama_krishna580Commented:
Hi,

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:
org.apache.xalan.templates.ElemCallTemplate.execute
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates
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.

http://www.redbooks.ibm.com/redpapers/pdfs/redp4059.pdf

R.K
0
 
rama_krishna580Commented:
look at here also..

http://websphere.sys-con.com/read/113368_3.htm

JMX library code was fixed to properly handle HashMap object so it is thread safe.
http://www-1.ibm.com/support/docview.wss?rs=180&uid=swg1PQ87236

R.K
0
 
pavan_immadiAuthor Commented:
How can I increse the java stack (-Xoss1m) or how to use -Xoss1m.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now