Solved

heap rises and idle threads go to 0

Posted on 2006-11-09
7
661 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
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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Hibernate filter not working 4 111
Java applets work on wired network, but not on wireless 12 128
Working knowledge on Innopac Library System 2 189
Java Email Transport Not working 14 106
This exercise is about for the following scenario: Dmgr and One node with 2 application server. Each application server contains it owns application. Application server name as follows server1 contains app1 server2 contains app1 Prereq…
Most of the developers using Tomcat find it easy to configure the datasource in Server.xml and use the JNDI name in the code to get the connection.  So the default connection pool using DBCP (or any other framework) is made available and the life go…

680 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