Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Machine > Re: HotSpot cra...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 9 Topic 783 of 803
Post > Topic >>

Re: HotSpot crashed on Linux

by Juha Laiho <Juha.Laiho@[EMAIL PROTECTED] > Jul 21, 2007 at 03:52 PM

nicolas.raoul@[EMAIL PROTECTED]
 said:
>The HotSpot JVM was running Tomcat, which hosted our web application
>in the production environment.
....
>In the JVM error file, I notice about 5000 threads, could this be a
>problem ? Is the HotSpot JVM unable to handle many threads ? Should I
>change the way my application uses threads ?
>
>Could it be caused by my web application ?

Hmm.. the amount of threads could be a concern, and as such it could be
caused by your applications.

>I could not find any information on how to prevent this kind of
>crashes.
>What can I do so that it does not happen again ?

One thing you might do is to file the error report to Sun, as hinted in
the crash log.

>-----------------------------------------------------------------
># An unexpected error has been detected by Java Runtime Environment:
>#
>#  SIGSEGV (0xb) at pc=0x064c5d46, pid=30568, tid=1797516208
>#
># Java VM: Java HotSpot(TM) Server VM (1.6.0_01-b06 mixed mode)
># Problematic frame:
># V  [libjvm.so+0x4c5d46]

Check the release notes of 1.6.0_02 JRE for the SIGSEGV details; it
could even be fixed already.

># If you would like to submit a bug report, please visit:
>#   http://java.sun.com/webapps/bugreport/crash.jsp
>
>---------------  T H R E A D  ---------------
>
>Current thread (0x080d0000):  JavaThread "Timer-133" daemon
>[_thread_blocked_trans, id=31497]

So, the SEGV happened within one of the Timer threads.

>---------------  P R O C E S S  ---------------
>
>Java Threads: ( => current thread )
>  0x2a37ec00 JavaThread "Timer-4500" daemon [_thread_blocked_trans,
>id=24820]
>... (4563 similar lines with "Timer-XYZ")

And there's quite a number of such threads (and to me at least it sounds
strange to have that many timer threads. Also, I don't see any Timer-XXX
thread on my Tomcat, so it is likely that the threads are created by your
code (or alternatively some library unique to your set-up).

-- 
Wolf  a.k.a.  Juha Laiho     Espoo, Finland
(GC 3.0) GIT d- s+: a C++ ULSH++++$ P++@[EMAIL PROTECTED]
 L+++ E- W+$@[EMAIL PROTECTED]
 N++ !K w !O !M V
         PS(+) PE Y+ PGP(+) t- 5 !X R !tv b+ !DI D G e+ h---- r+++ y++++
"...cancel my subscription to the resurrection!" (Jim Morrison)




 9 Posts in Topic:
HotSpot crashed on Linux
nicolas.raoul@[EMAIL PROT  2007-07-17 03:01:31 
Re: HotSpot crashed on Linux
Roedy Green <see_websi  2007-07-17 19:24:03 
Re: HotSpot crashed on Linux
Juha Laiho <Juha.Laiho  2007-07-21 15:52:04 
Re: HotSpot crashed on Linux
nicolas.raoul@[EMAIL PROT  2007-07-23 05:24:02 
Re: HotSpot crashed on Linux
David Gourley <dave@[E  2007-07-23 20:40:31 
Re: HotSpot crashed on Linux
Roedy Green <see_websi  2007-07-24 07:41:39 
Re: HotSpot crashed on Linux
David Gourley <dave@[E  2007-07-24 21:16:38 
Re: HotSpot crashed on Linux
Juha Laiho <Juha.Laiho  2007-07-25 16:47:03 
Re: HotSpot crashed on Linux
David Gourley <dave@[E  2007-07-25 20:30:53 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri May 16 23:41:57 CDT 2008.