|
Home | Switchboard | Unix Administration | Red Hat | TCP/IP Networks | Neoliberalism | Toxic Managers |
(slightly skeptical) Educational society promoting "Back to basics" movement against IT overcomplexity and bastardization of classic Unix |
Book Reviews |
Recommended Links | Humor | Etc |
|
There are three main dimensions of Websphere monitoring:
|
The JVM™ heap size allocated for the application server should be tuned and the heap usage should be continuously monitored. Verbose Garbage Collection (GC) tracing can be enabled for the application server without any significant overhead. It is a good practice to keep this on for monitoring purposes. The GC overhead should not be more than 5%; if it does go above this amount, the application should be reviewed.
If the JVM heap runs out of memory, the verbose GC traces and JVM heap dumps should be analyzed. There are number of tools that can be used to analyze the JVM Heap, and these are listed in more detail in chapter 4, "Diagnostic tools for WebSphere for z/OS", in WebSphere for z/OS Problem Determination Means and Tools, REDP-6880. Depending on the results of the analysis, the problem may or may not be application related.
The CPU utilization of the WebSphere Application Server address space may be high due to some kind of looping application code or other reason and this could slow down the rest of the work being processed by the server. System monitors and RMF information should be used to identify the source. Otherwise, profiling tools like Eclipse TPTP can pinpoint the problem to specific applications and their components. If this does not reveal the cause of the problem, an MVS™ console dump of the address space experiencing the high CPU activity should be taken for analysis. It is important to maximize the MVS systrace before taking the console dump.
High response time
The average response time of the application may not meet your goals. If this is the case, you should try to isolate which particular application request or requests are experiencing the delay. You should try to determine whether the delay is in the application request processing or the server processing. If it is determined that it is in the application, you would need to know how much time is spent in each phase of the particular request. There are application profiling tools that can be used to break down the transaction to see how much time each method is taking and this can be reviewed with the application developer to address the response time problem.
If the delay is in getting the application requests picked up by the WebSphere Application Server servant, then the WebSphere Application Server WLM goals should also be reviewed using the RMF Workload Activity reports. The number of threads per servant and number of servants may also be a contributing factor depending on workload. If the number of users of the application drastically increased and the response time went up, it could be that the application needs more resources to handle the new workload.
In WebSphere Application Server for z/OS, the default action is to ABEND the servant address space when a timeout occurs for an application request. The ABEND code is EC3 with a reason code of the form 0413000x. The server automatically takes an SVCDUMP in this case and the dump can be analyzed to determine which thread timed out and what it was doing when the timeout occurred. It also can give information about how long the request was processing in the servant and how long it took to get to the servant from the controller. If it spent most of its time waiting in the WLM queue to be picked up by the servant, then WLM goals should be looked at. If it spent all the time being processed in the servant, then that gives details on what the application is doing and can be further investigated using application profiling tools. Either way, it gives a clear indication of where the time was spent.
Average response time
Number of requests (transactions)
Number of live HTTP sessions
Web server thread pools
The Web and Enterprise JavaBeans (EJB) thread pools Database and connection pool size
CPU. You must observe these system resources to ensure that you have enough system resources, for example, CPU, I/O, and paging, to handle the workload capacity.
o monitor several of these statistics, WebSphere Application Server provides the Performance Monitoring Infrastructure to obtain the data, and provides the Tivoli Performance Viewer (TPV) in the administrative console to view this data.
The server collects performance data from various WebSphere Application Server components. A client retrieves performance data from one or more servers and processes the data. WebSphere Application Server, Version 6 supports the JavaTM 2 Platform, Enterprise Edition (J2EE) Management Reference Implementation (JSR-77).
In WebSphere Application Server, Version 6 and later, PMI counters are enabled, based on a monitoring or instrumentation level. The levels are None, Basic, Extended, All, and Custom. These levels are specified in the PMI module XML file. Enabling the module at a given level includes all the counters at the given level plus counters from levels below the given level. So, enabling the module at the extended level enables all the counters at that level plus all the basic level counters as well.
JSR-077 defines a set of statistics for J2EE components as part of the StatisticProvider interface. The PMI monitoring level of Basic includes all of the JSR-077 specified statistics. PMI is set to monitor at a Basic level by default.
As shown in the following figure, the server collects PMI data in memory.
This data consists of counters such as servlet response time and data connection
pool usage. The data points are then retrieved using a Web client, a Java client,
or a Java Management Extensions (JMX) client. WebSphere Application Server contains
Tivoli Performance Viewer, a Java client which displays and monitors performance
data. See the
Monitoring performance with Tivoli Performance Viewer (TPV)
,
Third-party performance monitoring and management solutions
, and
Developing your own monitoring applications
topics for more information
on monitoring tools.
The figure shows the overall PMI architecture. On the right side, the server
updates and keeps PMI data in memory. The left side displays a Web client, a
Java client, and a JMX client retrieving the performance data.
Extract from the documentation follows (OpenSmart has an excellent documentation !)
10.7. Monitoring WebSphere Application Server.
What should you configure in
10.7.1. Checks for monitoring WebSphere application serverosagent.conf.xml
to monitor your WebSphere application server / J2EE application ?
- Checking running java jvm processes with PROC
- Checking open sockets on port ( web-container(s), admin-console, servlet container ) with SOCKETS
- check, if your web-container returns a defined result WEBAPP
- Checking the SystemOut.log / SystemErr.log with LOGS
- Checking your WebSphere MQ (aka MQSeries) with Section 9.21, "Configuration for the mqs check"
<!-- ... --> <PROC> <PROCESS> <!-- check the node agent (listed as process in ps -ef) --> <PROCNAME>/usr/WebSphere/nodeagent/bin/java</PROCNAME> <ERRORLEVEL>ERROR</ERRORLEVEL> <DESCRIPTION> The NodeAgent of the application server isn't running. This is maybe a bad sign - but you can try to restart it by /usr/WebShere/Deployment/bin/startNode.sh </DESCRIPTION> </PROCESS> <!-- check the websphere jvm (listed as process in ps -ef) --> <PROCNAME>/usr/WebSphere/appsrv/bin/java</PROCNAME> <ERRORLEVEL>ERROR</ERRORLEVEL> <DESCRIPTION> WebSphere isn't running - look at your SystemOut.log / SystemErr.log and restart it - if possible </DESCRIPTION> </PROCESS> </PROC> <SOCKETS> <CHECK4SOCKET> <!-- Maybe you have do define the right interface definition for your system http port, https port, admin console, servlet container etc. --> <INTERFACE>0.0.0.0</INTERFACE> <PORT>9080</PORT> <ERRORLEVEL>FATAL</ERRORLEVEL> <DESCRIPTION>Socket of servlet container doen't exists - check logfiles</DESCRIPTION> </CHECK4SOCKET> <!-- More sockets you want to check --> </SOCKETS> <WEBAPP> <APP2CHECK> <!-- Test your servlet container if the response is correct, also report the reponse time (this will be done by default) --> <APPNAME>Web-Application-1</APPNAME> <HOST>www.myownwebserver.de</HOST> <PORT>80</PORT> <HTTPRQST>GET / HTTP/1.0</HTTPRQST> <TEXT2CHECK>if you can read this, the servlet works correctly</TEXT2CHECK> <ERRORLEVEL>ERROR</ERRORLEVEL> </APP2CHECK> <!-- More webapps you want to check --> </WEBAPP> <LOGS> <LOGFILE> <LOGFILENAME>/usr/WebSphere/appsrv/logs/SystemOut.log</LOGFILENAME> <!-- java exceptions --> <LOGFILTER> <REGEX>.*Exceptions in thread.*</REGEX> <ERRORLEVEL>ERROR</ERRORLEVEL> </LOGFILTER> <!-- user logged off the app isn't important --> <LOGFILTER><REGEX>user.*logged off.*</REGEX></LOGFILTER> <LOGFILTER><REGEX>user.*no longer active in.*</REGEX></LOGFILTER> <LOGFILTER> <REGEX>.*</REGEX><!-- Everything unknown --> <PRIORITY>1000</PRIORITY> <!-- That is AFTER all default priorities! --> <ERRORLEVEL>WARNING</ERRORLEVEL> </LOGFILTER> </LOGFILE> <!-- More logs you want to check --> </LOGS>
IBM - WebSphere Studio Application Monitor - Product Overview
Analyzing WebSphere Application Server Logs Using the WebSphere Studio Log Analysis Tool
IBM WebSphere® Application Server for Distributed Platforms and z/OS®: An Administrator's Guide
Society
Groupthink : Two Party System as Polyarchy : Corruption of Regulators : Bureaucracies : Understanding Micromanagers and Control Freaks : Toxic Managers : Harvard Mafia : Diplomatic Communication : Surviving a Bad Performance Review : Insufficient Retirement Funds as Immanent Problem of Neoliberal Regime : PseudoScience : Who Rules America : Neoliberalism : The Iron Law of Oligarchy : Libertarian Philosophy
Quotes
War and Peace : Skeptical Finance : John Kenneth Galbraith :Talleyrand : Oscar Wilde : Otto Von Bismarck : Keynes : George Carlin : Skeptics : Propaganda : SE quotes : Language Design and Programming Quotes : Random IT-related quotes : Somerset Maugham : Marcus Aurelius : Kurt Vonnegut : Eric Hoffer : Winston Churchill : Napoleon Bonaparte : Ambrose Bierce : Bernard Shaw : Mark Twain Quotes
Bulletin:
Vol 25, No.12 (December, 2013) Rational Fools vs. Efficient Crooks The efficient markets hypothesis : Political Skeptic Bulletin, 2013 : Unemployment Bulletin, 2010 : Vol 23, No.10 (October, 2011) An observation about corporate security departments : Slightly Skeptical Euromaydan Chronicles, June 2014 : Greenspan legacy bulletin, 2008 : Vol 25, No.10 (October, 2013) Cryptolocker Trojan (Win32/Crilock.A) : Vol 25, No.08 (August, 2013) Cloud providers as intelligence collection hubs : Financial Humor Bulletin, 2010 : Inequality Bulletin, 2009 : Financial Humor Bulletin, 2008 : Copyleft Problems Bulletin, 2004 : Financial Humor Bulletin, 2011 : Energy Bulletin, 2010 : Malware Protection Bulletin, 2010 : Vol 26, No.1 (January, 2013) Object-Oriented Cult : Political Skeptic Bulletin, 2011 : Vol 23, No.11 (November, 2011) Softpanorama classification of sysadmin horror stories : Vol 25, No.05 (May, 2013) Corporate bullshit as a communication method : Vol 25, No.06 (June, 2013) A Note on the Relationship of Brooks Law and Conway Law
History:
Fifty glorious years (1950-2000): the triumph of the US computer engineering : Donald Knuth : TAoCP and its Influence of Computer Science : Richard Stallman : Linus Torvalds : Larry Wall : John K. Ousterhout : CTSS : Multix OS Unix History : Unix shell history : VI editor : History of pipes concept : Solaris : MS DOS : Programming Languages History : PL/1 : Simula 67 : C : History of GCC development : Scripting Languages : Perl history : OS History : Mail : DNS : SSH : CPU Instruction Sets : SPARC systems 1987-2006 : Norton Commander : Norton Utilities : Norton Ghost : Frontpage history : Malware Defense History : GNU Screen : OSS early history
Classic books:
The Peter Principle : Parkinson Law : 1984 : The Mythical Man-Month : How to Solve It by George Polya : The Art of Computer Programming : The Elements of Programming Style : The Unix Hater’s Handbook : The Jargon file : The True Believer : Programming Pearls : The Good Soldier Svejk : The Power Elite
Most popular humor pages:
Manifest of the Softpanorama IT Slacker Society : Ten Commandments of the IT Slackers Society : Computer Humor Collection : BSD Logo Story : The Cuckoo's Egg : IT Slang : C++ Humor : ARE YOU A BBS ADDICT? : The Perl Purity Test : Object oriented programmers of all nations : Financial Humor : Financial Humor Bulletin, 2008 : Financial Humor Bulletin, 2010 : The Most Comprehensive Collection of Editor-related Humor : Programming Language Humor : Goldman Sachs related humor : Greenspan humor : C Humor : Scripting Humor : Real Programmers Humor : Web Humor : GPL-related Humor : OFM Humor : Politically Incorrect Humor : IDS Humor : "Linux Sucks" Humor : Russian Musical Humor : Best Russian Programmer Humor : Microsoft plans to buy Catholic Church : Richard Stallman Related Humor : Admin Humor : Perl-related Humor : Linus Torvalds Related humor : PseudoScience Related Humor : Networking Humor : Shell Humor : Financial Humor Bulletin, 2011 : Financial Humor Bulletin, 2012 : Financial Humor Bulletin, 2013 : Java Humor : Software Engineering Humor : Sun Solaris Related Humor : Education Humor : IBM Humor : Assembler-related Humor : VIM Humor : Computer Viruses Humor : Bright tomorrow is rescheduled to a day after tomorrow : Classic Computer Humor
The Last but not Least Technology is dominated by two types of people: those who understand what they do not manage and those who manage what they do not understand ~Archibald Putt. Ph.D
Copyright © 1996-2021 by Softpanorama Society. www.softpanorama.org was initially created as a service to the (now defunct) UN Sustainable Development Networking Programme (SDNP) without any remuneration. This document is an industrial compilation designed and created exclusively for educational use and is distributed under the Softpanorama Content License. Original materials copyright belong to respective owners. Quotes are made for educational purposes only in compliance with the fair use doctrine.
FAIR USE NOTICE This site contains copyrighted material the use of which has not always been specifically authorized by the copyright owner. We are making such material available to advance understanding of computer science, IT technology, economic, scientific, and social issues. We believe this constitutes a 'fair use' of any such copyrighted material as provided by section 107 of the US Copyright Law according to which such material can be distributed without profit exclusively for research and educational purposes.
This is a Spartan WHYFF (We Help You For Free) site written by people for whom English is not a native language. Grammar and spelling errors should be expected. The site contain some broken links as it develops like a living tree...
|
You can use PayPal to to buy a cup of coffee for authors of this site |
Disclaimer:
The statements, views and opinions presented on this web page are those of the author (or referenced source) and are not endorsed by, nor do they necessarily reflect, the opinions of the Softpanorama society. We do not warrant the correctness of the information provided or its fitness for any purpose. The site uses AdSense so you need to be aware of Google privacy policy. You you do not want to be tracked by Google please disable Javascript for this site. This site is perfectly usable without Javascript.
Last modified: March 12, 2019