Tomcat7 dies, nothing in the logs

I searched and searched and didn't really help me post a new question. Ubuntu Server 11.10 Platform - 64 Bit JVM 1.7.0_03 Tomcat 7

There is nothing special in the configuration - the front server is apache using an ajp connector. Tomcat works as an ubuntu service.

On our server, tomcat7 is dying and cannot understand the reason. I checked all the log files (syslog, catalina.out, even auth.log) to find out if there is anything that is logged.

As with the top command server, there is still about 4 GB of free memory, and processor usage averages around 35% in most cases.

To isolate the problem, is there a way to get the exit status code of the tomcat process that is completed?

I read several reports where jvm logging log log log in case of jvm crash. I don’t see this either.

It looks like I need to install ulimit to get a core dump, but I'm not sure how to do this for the tomcat service, or is this a parameter that is valid for all users.

+4
source share
1 answer

It looks like I need to install ulimit to get a core dump, but I'm not sure how to do this for the tomcat service, or is this a parameter that is valid for all users.

One way to do this without interfering with anything else is to add the ulimit command to the catalina.sh script. (This is a bit hacked ... but it looks like you are at a point where hacking can bring happiness.)

+2
source

Source: https://habr.com/ru/post/1433180/


All Articles