Solved

heap rises and idle threads go to 0

Posted on 2006-11-09
7
658 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

947 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

23 Experts available now in Live!

Get 1:1 Help Now