JSP's in the debug directory

Hello Again, What I want to do is go through some debugging utilities that I tend to use to troubleshoot issues with IDM. I will not attempt to go through them all as we have tons in the idm/debug directory. I will list 8 below. All of these can be called by going to http://<idm-instance>:port/debug/<Jsp> . Where <idm-instance> is your instance and <port> is your port.

The first one I want to go over is the callTimers.jsp. What this does is provide a interface for basic method profiling. In here you can take a look at what is being called how many time and how long . You can even click on the method to see what is calling it.

The best way to collect this is to:

    \* go to debug/callTimer.jsp
    \* clear the timer
    \* start the timer
    \* after 15 minutes stop the timer
    \* Export the results and send back the .xml file.

Below is a sample of what the CallTimer.jsp page looks like

image 2

This second picture is when you click on a method

Now, lets talk about a few others

codeId.jsp

What this does is displays the codeId value for a specified class. This also lists the location of the class . For this one you need to know what class to add in the class box. For this example I chose the IDMResourceAdapter in her you can see the codeId and where the class was called from.


Gateway.jsp is a page that lists all the debugging info . In here you can choose which gateway to display . You can also get the version of the gateway and also turn on tracing on the gateway. Only certain resource adapters use the gateway (AD,Novell) . 

Gateway debug page


Show_Memory.jsp - This shows the used and total memory used on the system. To make this accurate you need to hit the garbage collection button. This is good for memory issues.

Show_memory

Show_WSProp.jsp is a page that displays the attributes in the Waveset.properties file. Quick and easy way to make changes . One thing to note is that changes in this page only last until the next server restart. If you need to make permenant changes edit the file.


SysInfo.jsp - This is a pretty cool tool. What it does is display all the java properties for the instance.


Show_Reconciler.jsp is a good one to see what is going on with your recons. In this page you can see the pending recons and also the minimum and maximum recon thread and worker threads you have running. In my case I am not running any recons or have any scheduled so I am not seeing any.


The last one and probably the most requested by support is the Show_Timings.jsp.

What this one shows is the current time the system is spending processing the classes. The best way to get accurate info is to do

    \* go to debug/ShowTimings.jsp
    \* clear the timer
    \* start the timer
    \* start the event that was taking a long time
    \* after 15 minutes stop the timer
    \* Cut and paste the results to an excel spreadsheet and send.

In the jsp page or the spreadsheet, You will see the class , If you have methodtimer set to true you will see a detail link that shows the class name and the stack traces.

The History link shows a graph of the recent data points and the history data shows the data collected by the system.

In the spreadsheet, you will see the amount of calls , any errors,and the Average time, Min and Max times as well. What you should look for is ones that are being called a ton of times and then ones that the average time is huge.
(Note: most time attrs are in msec 10mins = 60000msec)


Well there you go 8 of the many utilities listed in the /idm/debug directory. I hope I have hit one that you don't use. Please leave me comments below if you have any questions. Till next time.

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

I have been in support for about 10 years now and have been doing IDM support for 5 years now. I have been working for SUN for 9 years and have supported the whole JES Stack during that time.

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today