Solved

How to monitor tomcat's heap usage?

Posted on 2014-11-17
2
112 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Navicat software trying to restore Mysql backup Connection lost 23 96
Java concurrency in pictures ( or animations ) 1 120
XAMPP 3 61
Setting up a WAMP server... 7 63
Upgrading Tomcat – There are a couple of methods to upgrade Tomcat is to use The Apache Installer is to download and unzip and run the services.bat remove|install Tomcat6 Because of the App that we are working with, we can only use Tomcat 6.…
There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
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…

832 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