Solved

heap rises and idle threads go to 0

Posted on 2006-11-09
7
663 Views
Last Modified: 2013-12-10
I have a problem with a weblogic express cluster that i run.

It is a weblogic 8.1.4 3 node cluster running on RHES4.

every 2 or so days the heap size rises to 95% and then the idle threads drops to 0. then the sites become unavlable.

Any ideas where to start looking?
0
Comment
Question by:willa666
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 5

Expert Comment

by:Becky
ID: 17910600
It could be garbage collection gone bad...  

Do you have a dev server you can test on?  The easiest thing I can think of is to start your app on a test machine, then about 1 and 1/2 days later manually run garbage collection and see if it exhibits the same behavior while GC is running.
0
 
LVL 1

Author Comment

by:willa666
ID: 17927173
Hi  greensunie

If it is a issue with garbage collection then how can it be fixed?

Will
0
 
LVL 5

Expert Comment

by:Becky
ID: 17928211
You'd need to get a really experienced coder to go over your applications on that server and look out for places where memory leaks can be caused.   Not closing database connections properly (and not using a finally clause) are a major cause of memory leaks (and can cause the GC to run early and often).  Other types of connections to other computers such as LDAP servers, other kind of authentication mechanisms, any kind of socke programming, etc.. can all cause leaks.
0
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!

 
LVL 5

Expert Comment

by:Becky
ID: 17928212
socke = socket
0
 
LVL 6

Accepted Solution

by:
Ajar earned 500 total points
ID: 17931239
Hi willa,

    There seems to be a particular servlet/service on your website that might need cure. In order to identify this , the next time your server becomes non responsive ,open the admin console and monitor the execute queue for the non responsive server. [DOMAIN>servers>server>monitor all execute queues]It probably will turn out that most of the  threads are servicing a similiar request.  Once you have identified this request you know the part of application that is mis behaving.

    You can further get the THREAD DUMP of the server threads by  pressing Ctrl + Break on windows  and  Kill -3 <wls pid> on unix. This will get you a fair idea about the classes that are keeping the threads engaged.




0
 
LVL 4

Expert Comment

by:illusionz70
ID: 17963590
HI willa ,
Are you using any middleware ? like Tuxedo/JOLT or something like that between you app server and database.
If yes Check for the connection pool not getting released.
0
 
LVL 23

Expert Comment

by:rama_krishna580
ID: 18046831
0

Featured Post

Business Impact of IT Communications

What are the business impacts of how well businesses communicate during an IT incident? Targeting, speed, and transparency all matter. Find out more in this infographic.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Configure Web Service (server application) I. Configure security for Web Services methods First, we need to protect Session bean which implements the service: 1. Open EJB deployment descriptor (ejb-jar.xml) in the EJB project that contains you…
There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

734 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