Solved

How to monitor tomcat's heap usage?

Posted on 2014-11-17
2
100 Views
Last Modified: 2015-04-08
I keep getting 'java.lang.OutOfMemoryError: Java heap space' and because of that my java app gets hanged and become unresponsive. while taking heap dump I see following error:

root@ip-10-0-55-90:/share/apps/apache-tomcat/current/logs# /usr/java/jdk1.7.0_25/bin/jmap -dump:format=b,file=java_tomcat.bin 47929
47929: Unable to open socket file: target process not responding or HotSpot VM not loaded
The -F option can be used when the target process is not responding

Open in new window


I would like to know how to monitor tomcat' heap usage proactively and that to do in such cases to fix it?
0
Comment
Question by:beer9
2 Comments
 
LVL 2

Accepted Solution

by:
Mayavan R earned 500 total points
Comment Utility
Hope below link will provide required details

Link : http://www.appdynamics.com/solutions/appdynamics-java-monitoring/apache-tomcat-monitoring/

For more info about Monitoring

Link: http://wiki.apache.org/tomcat/FAQ/Monitoring
0
 

Author Comment

by:beer9
Comment Utility
I would like to know how to get the 'heap dump' of a tomcat process in Linux
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Need assistance modifying php script 3 33
Service "nameserver" appears to be down 4 475
apache and php 3 89
htaccess restrict subdomain 4 68
In my time as an SEO for the last 2 years and in the questions I have assisted with on here I have always seen the need to redirect from non-www urls to their www versions. For instance redirecting http://domain.com (http://domain.com) to http…
This article is about some of the basic and important steps to be used to improve the performance in web-sphere commerce application development. 1) Always leverage the Dyna-caching facility provided by the product 2) Remove the unwanted code …
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now