Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

How to monitor tomcat's heap usage?

Posted on 2014-11-17
2
114 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
ID: 40447039
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
ID: 40461508
I would like to know how to get the 'heap dump' of a tomcat process in Linux
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
RewrteRule using htacess 10 77
PHP Upload using Uploadify 4 109
Best IDE for PHP starters 11 134
wamp versus xampp 4 63
As Wikipedia explains 'robots.txt' as -- the robot exclusion standard, also known as the Robots Exclusion Protocol or robots.txt protocol, is a convention to prevent cooperating web spiders and other web robots from accessing all or part of a websit…
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

829 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