Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have Tomcat 6 on Debian 5 on VPS. Sometimes Tomcat stop responses, and when I then checked server there is no Tomcat process and none exception to this in Tomcat logs.

How can I check what killed Tomcat process?

share|improve this question

3 Answers 3

You could try to search in syslog: /var/log/*

for the messages (syslog) use the following command:

tail /var/log/syslog

and you will get the last 5 or so log messages.

here's an article on debians syslog:


share|improve this answer

Take a look in /var/log/syslog. Probably your tomcat eat a lot of memory and the oom-killer is taking action:


share|improve this answer
Tomcat has ~ 970M and is still 2GB free on server. –  proc Mar 25 '11 at 13:33
Look on /var/log/syslog and see if something with oom appear there. –  Sacx Mar 25 '11 at 13:36
nothing with oom, tomcat or java in syslog –  proc Mar 25 '11 at 13:41

There's an article about the logging in tomcat. I haven't tried it but it looks promising.


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.