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)


|