tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Eggers <its_toas...@yahoo.com>
Subject Re: Tomcat 6 crash, no log, no hs_err_pid file
Date Fri, 06 May 2011 17:56:01 GMT
> From: Jakub Królikowski <jakub@pakamera.com.pl>

> To: Tomcat Users List <users@tomcat.apache.org>
> Cc: 
> Sent: Thursday, May 5, 2011 5:34 PM
> Subject: Re: Tomcat 6 crash, no log, no hs_err_pid file
> 
> On Thu, May 5, 2011 at 3:03 AM, Caldarale, Charles R
> <Chuck.Caldarale@unisys.com> wrote:
>>>  From: Jakub Królikowski [mailto:jakub@pakamera.com.pl]
>>>  Subject: Tomcat 6 crash, no log, no hs_err_pid file
>> 
>>>  sometimes, even once a day, Tomcat stops suddenly. There is no java
>>>  process anymore, there is no errors in catalina.out log file,
>>>  and, what is the most confusing, there is no hs_err_pid*.log file
>>>  anywhere, or I cannot find it.
>> 
>>  Classic symptoms of the Linux OOM killer.  Are you sure your system has 
> enough RAM and swap space for *all* of your active processes?  There may be a 
> kernel-generated log entry buried in some obscure location that describes the 
> event.
>> 
>>  Did you look in /tmp for the hs_err_pid file?  The JVM will write it there 
> if it can't write to the current directory (or at least it used to).
> 
> 
> Yes. There is no any hs_err_pid in /tmp unfortunately...
> 
> 
> 
>> 
>>   - Chuck

You're using 1.6.0_24 if I remember correctly? Oracle changed the location for heap dumps
and performance information in 1.6.0_22 to use java.io.tmpdir rather than hard-coded locations.
This means that files such as heap dumps and hsperfdata information ends up in $CATALINA_HOME/temp
unless you've set CATALINA_TMPDIR.

I don't know if hs_err_pid is impacted as well. Have you checked for this information in $CATALINA_TMPDIR?

This looks like it's been reverted to the hard-coded locations for JDK/JRE 7 (although I've
not run the pre-release yet).

. . . just my two cents.

/mde/


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message