tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lin Chun <franks1...@gmail.com>
Subject Re: Tomcat is stopped any errors
Date Fri, 31 Jul 2009 08:44:19 GMT
hi chris

Thanks for ur rely.

The heap is before the 'crash'

Before I posted I've already checked all the log files. These is no any
errors in stdout neither stderr, the service was running normally, which is
strange to me, and that's why I suppose it's the crash of jvm.

But there no such file as hs_err_pid30854.log.

We run the service with  Tomcat5.5+mod_jk+Apache 2  on a virtual machine
(with 512m memory),

 the tomcat is gone, but apache remain.


Here is the config for jvm

java.exe=/opt/local/java/bin/java
tomcat.home=/opt/local/apache-tomcat-5.5.25

java.classpath.file=/MIDDLE/SESAM-Vitale/
poc-bi.gie-sesamvitale.net/tomcat1/conf/classpath.txt

java.args=-Xms128m -Xmx512m -Dnetworkaddress.cache.ttl=300

optimizeit.enable=false
optimizeit.hotspot=false






On Thu, Jul 30, 2009 at 6:08 PM, Christopher Schultz <
chris@christopherschultz.net> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Chun,
>
> On 7/30/2009 11:13 AM, Lin Chun wrote:
> > I got a problem. Tomcat [has] stopped without any errors, I think it
> might be
> > the crash of JVM , when Tomcat is running  I got the infos of heap.
> >
> > Heap Configuration:
> >    MinHeapFreeRatio = 40
> >    MaxHeapFreeRatio = 70
> >    MaxHeapSize      = 536870912 (512.0MB)
> >    NewSize          = 655360 (0.625MB)
> >    MaxNewSize       = 4294901760 (4095.9375MB)
> >    OldSize          = 1441792 (1.375MB)
> >    NewRatio         = 8
> >    SurvivorRatio    = 8
> >    PermSize         = 16777216 (16.0MB)
> >    MaxPermSize      = 67108864 (64.0MB)
>
> Was this heap configuration observed before the crash? Or, after you
> restarted Tomcat?
>
> If the JVM crashed, you should get a message like this:
>
> # An unexpected error has been detected by Java Runtime Environment:
> #
> #  SIGSEGV (0xb) at pc=0xffffe410, pid=30854, tid=3084593920
> #
> # Java VM: Java HotSpot(TM) Client VM (11.3-b02 mixed mode, sharing
> linux-x86)
> # Problematic frame:
> # C  [+0x410]  __kernel_vsyscall+0x10
> #
> # An error report file with more information is saved as:
> # /home/chris/projects/diagnosis/hs_err_pid30854.log
> #
> # If you would like to submit a bug report, please visit:
> #   http://java.sun.com/webapps/bugreport/crash.jsp
> #
>
> on stdout or stderr (probably stderr, I didn't check).
>
> Note that a log file was created with crash details.
>
> Check logs/catalina.out or any log file for something like that in it.
> If you see such a message, post the log file created by the crash and
> we'll take a look at it. In any case, post the last 10 or so lines of
> catalina.out so we can take a look.
>
> Otherwise, we aren't really going to be able to help because you haven't
> really provided any information about your problem.
>
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAkpxxXkACgkQ9CaO5/Lv0PAKwgCdFYqOn1RL7lso+tO6vBaQMfhL
> XlAAn0CIDDEx7E+XJWYkQ5ELLY6PuVhy
> =Qd7y
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>


-- 
-------------------------
Lin Chun
Stephen Leacock<http://www.brainyquote.com/quotes/authors/s/stephen_leacock.html>
- "I detest life-insurance agents: they always argue that I shall some
day
die, which is not so."

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message