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:
- system.exit executed. checked code , there no kind of code.
- 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.
Comments
Post a Comment