tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexey Solofnenko <A.Solofne...@mdl.com>
Subject Re: Java freezing at 100% usage, tomcat 5, java 5
Date Fri, 17 Aug 2007 17:16:25 GMT
I do not know the answer. A similar behaviour happened with our servers 
when finilizer dead-locked. In your case Finilizer did not dead-lock, 
but it fails with exception and I do not know if it recovers after that. 
Try checking stack trace several times in a row and see what the 
finilizer does.

"Finalizer" daemon prio=1 tid=0x0809d908 nid=0x4834 waiting for monitor 
entry [0xb24a1000..0xb24a1ea0]
at java.lang.Throwable.getStackTraceElement(Native Method)
at java.lang.Throwable.getOurStackTrace(Throwable.java:592)
- locked <0x792bef30> (a java.net.SocketException)
at java.lang.Throwable.printStackTrace(Throwable.java:511)
- locked <0x792bf368> (a java.io.PrintWriter)
at com.mysql.jdbc.Util.stackTraceToString(Util.java:291)
at 
com.mysql.jdbc.CommunicationsException.<init>(CommunicationsException.java:186)
at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:2723)
at com.mysql.jdbc.MysqlIO.quit(MysqlIO.java:1401)
at com.mysql.jdbc.Connection.realClose(Connection.java:4882)
at com.mysql.jdbc.Connection.cleanup(Connection.java:2062)
at com.mysql.jdbc.Connection.finalize(Connection.java:3369)
at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
at java.lang.ref.Finalizer.access$100(Finalizer.java:14)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)


- Alexey.

Jimmy Phelan :: Blacknight Solutions wrote:
> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal 
> {margin:0cm; margin-bottom:.0001pt; font-size:12.0pt; 
> font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; 
> text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed 
> {color:purple; text-decoration:underline;} span.EmailStyle17 
> {mso-style-type:personal-compose; font-family:Arial; 
> color:windowtext;} @page Section1 {size:595.3pt 841.9pt; margin:72.0pt 
> 90.0pt 72.0pt 90.0pt;} div.Section1 {page:Section1;} -->
>
> Hi All
>
> We are using tomcat 5 on a shared hosting server. The server is 
> running DirectAdmin as its control panel. It is running RedHat 
> Enterprise 4, tomcat 5.5.23 and jvm 1.5.0_08-b03
>
> I have attached a stack trace (from kill -3)
>
> We are using a plugin from da-plugin.com to use tomcat in DirectAdmin, 
> but the support on this is less than stellar, and we don’t believe it 
> to be the issue
>
> What seems to be happening is that every now and again the java 
> process jumps to 100% usage, and sticks. Only a service tomcatd 
> restart will kill it and restart the server
>
> Tomcat 5 has the following variables enables in its process
>
> -Xmx512M 
> -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager 
> -Djava.util.logging.config.file=/usr/local/tomcat/conf/logging.properties 
> -Djava.endorsed.dirs=/usr/local/tomcat/common/endorsed -classpath 
> :/usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/commons-logging-api.jar 
> -Dcatalina.base=/usr/local/tomcat -Dcatalina.home=/usr/local/tomcat 
> -Djava.io.tmpdir=/usr/local/tomcat/temp 
> org.apache.catalina.startup.Bootstrap start
>
> We are also running tomcat-4 in tandem with tomcat 5, it runs with the 
> following variables
>
> -Djava.endorsed.dirs=/usr/local/tomcat.4.1.33/common/endorsed 
> -classpath 
> /usr/local/java/lib/tools.jar:/usr/local/tomcat.4.1.33/bin/bootstrap.jar 
> -Dcatalina.base=/usr/local/tomcat.4.1.33 
> -Dcatalina.home=/usr/local/tomcat.4.1.33 
> -Djava.io.tmpdir=/usr/local/tomcat.4.1.33/temp 
> org.apache.catalina.startup.Bootstrap start
>
> We have been trying to sort this out for a while, but cant see 
> anything, can anyone else?
>
> Jimmy
>
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org

-- 
------------------------------------------------------------------------
Alexey N. Solofnenko <http://trelony.cjb.net/>
Pleasant Hill, CA (GMT-8 usually)


Mime
View raw message