Solved

How to monitor tomcat's heap usage?

Posted on 2014-11-17
2
131 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
[X]
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
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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 running a LAMP infrastructure, this little code snippet is very helpful if you are serving lots of HTML, JavaScript and CSS-related information. The mod_deflate module, which is part of the Apache 2.2 application, provides the DEFLATE…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

707 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