How to Monitor Tomcat App Server?

Login or Register to Reply

Thread Tools Search this Thread
# 8  
I tend to have this deployed to look at in general (if needed) :
InstallationApacheTomcat * psi-probe/psi-probe Wiki * GitHub

The software is gpl, has a relatively small footprint when deployed.

Of course, standard commands work as well (vmstat, iostat etc.), but this should help in investigation.

You can use various 'developers consoles' or firebugs to examine where it's stuck from the client side using browser.
# 9  
Hammer & Screwdriver

Originally Posted by bakunin
Have you made sure it is the application (and, for instance, NOT the system itself) that hangs for a few seconds? If, i.e., the system would be in a state of heavy swapping it might look like the application hangs but in fact it is the system that blocks the application because it has to get missing memory pages from swap to memory.

I hope this helps.

The Unix server has no issues.

I m not looking to resolve any issue. All i want is to setup a non third part monitoring mechanism to monitor Tomcat Hung state. Unfortunately, all the suggestions be it mine or others is not helpful to print and debug Tomcat v8 hung state.

If anyone knows ... please suggest.
# 10  
How to test whether a running daemon is capable of responding to queries, without actually making a query? That's a catch-22.

"Hung" isn't a state like sleep or running. It's the ability of the software itself to respond.
# 11  
it is usual problem with wrong configured java. Java runs garbage collection regularly and if it has too harsh settings for garbage collection, you will notice a small hang during the process. Check maximum and initial heap size and your garbage collection mechanism. Install some webapp - there some very nice with graphs and a lot of information - to monitor java heap. You will not see much information using standard UNIX toolset.

e.g. Understanding Java Garbage Collection | CUBRID Blog :
there is a term that you should know before learning about GC. The term is "stop-the-world." Stop-the-world will occur no matter which GC algorithm you choose. Stop-the-world means that the JVM is stopping the application from running to execute a GC. When stop-the-world occurs, every thread except for the threads needed for the GC will stop their tasks. The interrupted tasks will resume only after the GC task has completed. GC tuning often means reducing this stop-the-world time.
Login or Register to Reply

Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Script monitor website wth default tomcat script
Hi all, on our application server we have the following script that monitor the status of the website, my problem here is that i have edite the retries from 3 to 5, and the timewait to 120 second, so the script should check 5 times every 2 minutes, and if the fifth check fails it must restart...... UNIX for Advanced & Expert Users
UNIX for Advanced & Expert Users
Configure app server to view server files
Hi, We have a OEL6.1 installed on our server. We want developers to view there application logs generated on the server, but doesn't really want to give them access to server machine. Can someone please suggest how can we configure apache/httpd to create a url which will show all files in...... Red Hat
Red Hat
difference weblogic server/webserver/app server
Hi All, I am getting confused with the terms below. All I know is an application can be installed on a server. But I see the following terms used in a company. All of them are installed on same Unix box. Could you please help me out in layman terms as to what these exactly means. (PS: I don't...... UNIX for Dummies Questions & Answers
UNIX for Dummies Questions & Answers
can I use tomcat server for my chatting application?
Hello, I have a socket programming code to do chatting(both server and client). But this is limited to a single machines with multi users. But my target is to perform chat operation on multiple IP addresses in a given LAN in college. Can you please tell me if I can use TOMCAT as my server to...... IP Networking
IP Networking
How to restart the tomcat server
sankar reddy
hi, I need a command that restart the tomcat server. for example for restart the tomcat i am using following command, /etc/init.d/tomcat restart ..but sometimes is not working...might be i want to use java code access this peace of script. like using the grep and ps commands can i use?...... Shell Programming and Scripting
Shell Programming and Scripting