Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7442333
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T11:09:33+00:00 2026-05-29T11:09:33+00:00

Trying to diagnose some bizarre Tomcat ( 7.0.21 ) and/or JVM errors on a

  • 0

Trying to diagnose some bizarre Tomcat (7.0.21) and/or JVM errors on a 64-bit linux (CentOS) machine.

I’m load testing our server application and tried hitting it with 100K messages. Launched jvisualvm and kept my eye on the heap the whole time. Everything was looking great* (see below) until I got to about 93K processed messages and then Tomcat just died. Ran a ps on Tomcat’s PID number to confirm it was dead.

Up until this crash:

  • Load test had been running for about 90 minutes; should have finished shortly thereafter since we were at 93K/100K)
  • CPU was holding strong around 45%
  • Used heap was around 2GB (plus or minus a bunch after GCs) but heap size grew from 4GB to MAX_HEAP after about 30 minutes
  • Class loading/unloading was cycling normally
  • Thread dumps were normal

Nowhere in the server code are any calls to System.exit() – so we can rule that right out (and yes I’ve double-checked!!!).

I’m not sure if this is Tomcat crashing or the JVM (how do I tell?). And even if I did know, I can’t seem to find any indication of what went wrong:

  • All of the server app’s logs just stop without any ERROR messages (even though we have logging universally set to DEBUG and higher)
  • Tomcat’s catalina.out and respect localhost_access_* files just stop without any info

I’ve heard it is possible to have Tomcat log a coredump when it does but not sure how to do that and online examples aren’t helping much.

How would SO go about diagnosing this? What steps should I take to start ruling out all of the possible factors?

Thanks in advance!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T11:09:34+00:00Added an answer on May 29, 2026 at 11:09 am

    Sorry I had to remove the green check from @erickson. I finally figured out what was killing Tomcat.

    It looks like a profiler plugin is not configured correctly with VisualVM and attempting to run a profile on the Tomcat process killed it.

    Investigating why right now, and will update this answer once I know more.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to diagnose some memory issues in our J2EE server. I've setup jconsole
Trying to setup an SSH server on Windows Server 2003. What are some good
Trying to find some simple SQL Server PIVOT examples. Most of the examples that
I'm trying to diagnose a problem with a server application running on a Client
I've been trying to increase performance and diagnose deadlocks on a SQL Server 2005
I am trying to diagnose a problem on a server box that I believe
I just spent way too long trying to diagnose why, in the following snippet
I am trying to diagnose this problem. TAB creates 4 spaces instead of a
I'm trying to diagnose a PermGen memory leak problem in a Sun One 9.1
I am currently trying to diagnose a slow memory leak in my application. The

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.