Home Man
Search
Today's Posts
Register

Discuss UNIX and Linux software applications. This includes SQL, Databases, Middleware, MOM, SOA, EDA, CEP, BI, BPM and similar topics.

How to Monitor Tomcat App Server?

Login to Reply

 
Thread Tools Search this Thread
# 8  
Old 01-25-2017
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  
Old 01-25-2017
Hammer & Screwdriver

Quote:
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.

bakunin
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  
Old 01-25-2017
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  
Old 01-25-2017
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 :
Quote:
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 to Reply

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Script monitor website wth default tomcat script charli1 UNIX for Advanced & Expert Users 0 06-26-2018 01:37 PM
Problem with Apache Tomcat FTP Server - download gets 404 slashdotweenie UNIX and Linux Applications 1 05-27-2014 06:16 AM
How to push Tomcat logs to remote syslog server? heshandh Linux 2 08-01-2013 05:46 AM
Need a little help in running jsp pages(Tomcat server). pinga123 Programming 3 05-06-2010 08:07 AM
Trouble getting consistent PID of tomcat server from ps dkaplowitz Shell Programming and Scripting 1 07-16-2009 11:14 AM
what is the difference between http & Tomcat web server jayaprakash Solaris 2 03-12-2009 03:15 AM
can I use tomcat server for my chatting application? nsharath IP Networking 3 02-11-2009 10:18 AM
How to restart the tomcat server sankar reddy Shell Programming and Scripting 2 10-08-2008 05:26 AM
TomCat access in an Remote Linux Server gothama UNIX for Dummies Questions & Answers 1 03-13-2008 09:17 AM
jsp not working on linux running tomcat server mile1982 Linux 1 10-14-2004 06:18 AM


All times are GMT -4. The time now is 12:55 PM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password