You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Christopher Schultz <ch...@christopherschultz.net> on 2024/03/04 17:16:18 UTC

Re: Core Dump File Generation

Mohit,

On 2/28/24 04:39, Chaudhary, Mohit wrote:
> I am talking about java core dump file which is generating on tomcat/bin path and the OS is RHEL 6.

There is no such thing as a "java core dump file".

What is the name of the file? Something like hs_err_*? or is this 
something in catalina.out?

If it's an hs_err_* file then your JVM is crashing. The good news about 
those files is they tell you exactly what is crashing. If you don't mind 
posting the top of that file including the native stack, etc. maybe we 
can help.

That version of Java is really really old. Even if you are stuck on Java 
1.8 like a lot of people who are too scared to upgrade, you should be 
able to get a much later version of Java from e.g. Eclipse Adoptium / 
Temurin. Perhaps there was a JVM bug that has been fixed?

-chris

> -----Original Message-----
> From: Simon Matter <si...@invoca.ch>
> Sent: Wednesday, February 28, 2024 3:03 PM
> To: Tomcat Users List <us...@tomcat.apache.org>
> Subject: Re: Core Dump File Generation
> 
> [You don't often get email from simon.matter@invoca.ch. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
> 
> Hi Mohit,
> 
>> Hi All,
>>
>> We are facing issues on tomcat. Core dump file generating very
>> frequent twice to thrice in a month and core file size would be 13GB
>> to 15GB every time .Whenever this issue is happening tomcat services
>> stopped
> 
> I'm a bit confused, are you talking about a UNIX style core file here or some kind of dump from Java?
> 
> If it's a UNIX style core file then the culprit may be Java and not Tomcat
> - because Java should never ever dump a core file if it's running without errors.
> 
> Regards,
> Simon
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 

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