java - How to diagnose the root cause of tomcat crash -


i have tomcat server 7.0.54 running on suse linux 11 sp3. crashes occasionally.

i checked catalina.out , found log “info: stopping service catalina” looked tomcat got abnormal shutdown signal. there no error log before stopping log. weird.

it not jvm crash because has process: pause -> stop -> destroy. seems not shut down shutdown.sh through shutdown port normally. because should have important log “org.apache.catalina.core.standardserver await” if shut down shutdown port.

this may have 2 reasons:

  1. system.exit executed. checked code , there no kind of code.
  2. it got system signal, e.g. sighup.

how find signal got , program sent signal?

any suggestion/comments find root cause appreciated. thanks

just guess tomcat may crashing due insufficient memory. can use eclipse memory analysis tool analyse heap dump generated. eclipse memory analyzer fast , feature-rich java heap analyzer helps find memory leaks , reduce memory consumption.

check tomcat logs thoroughly. check here, here & here.


Comments

Popular posts from this blog

c# - Better 64-bit byte array hash -

webrtc - Which ICE candidate am I using and why? -

php - Zend Framework / Skeleton-Application / Composer install issue -