Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 117085 - [IAC] Delay when querying IAC statistical agent root counters
Summary: [IAC] Delay when querying IAC statistical agent root counters
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: TPTP (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 2000
: P1 major (vote)
Target Milestone: ---   Edit
Assignee: Navid Mehregani CLA
QA Contact:
URL:
Whiteboard: closed460
Keywords:
Depends on: 178160
Blocks:
  Show dependency tree
 
Reported: 2005-11-18 11:48 EST by George Christelis CLA
Modified: 2016-05-05 10:51 EDT (History)
1 user (show)

See Also:


Attachments
Sample Server Status Page (4.33 KB, text/html)
2005-11-21 06:44 EST, George Christelis CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description George Christelis CLA 2005-11-18 11:48:36 EST
This behaviour has been seen with the Apache java agent. When the agent is
invoked through the IAC it launches as per usual, but there is a large delay
before any of the root fragments are received from the agent. It appears as
though the agent is only receiving the request for its root fragments after some
time (approximately 45 seconds). This behaviour was not seen in the previous build.

The C IAC agents such as the Perfmon Agent do not show this behaviour, although
they tend to return far more data in the root fragments (the Apache agent sends
about 450 bytes, whereas the Perfmon Agent is often over 8K) which might
indicate some form of buffer flushing issue.

When invoking the agent using the RAC, the root counters appear with hardly any
delay once the agent is being monitored.
Comment 1 Hendra Suwanda CLA 2005-11-18 17:42:34 EST
George, please give us detailed description of the steps to reproduce this.
Thanks.
Comment 2 George Christelis CLA 2005-11-21 06:08:24 EST
Well, as the bug report says, the way to reproduce this is to run an Apache Agent. As the documentation states, the agent requests pages from an Apache / IHS server, querying the inbuilt server-status pages. Enabling the server-status page is a simple process requiring some minor tweaks to a servers httpd.conf.  For the sake of simplicity, you can get your web server to serve the attached static page. This will save you having to alter any configuration files. Just drop the ss.htm page into your servers htdocs directory. Try and point a browser at it to see if the server is serving the page.

Next...
1) Switch to the Profiling and Logging Perspective
2) Create a new Profile Launch Configuration
3) Create a new Statistical Launch Configuration
4) Select a Local Direct Connection in the Host Tab
5) Select an Apache Agent in the agent's tab
6) Enter the server status URL in the Settings tab under the Apache Server Status URL
7) Click Apply, Profile

When the agent appears click the Start Monitoring button.

Now, wait for about 45 seconds. In the meantime you can open the agent control view and link the view with the Profiling Monitor. You will notice that an Apache Agent appears in the controls view with *no* child counters.

After 45 seconds, the agent receives the request for it's child descriptors, servers the descriptors and they appear in the Control view.

There should be no 45 second delay. When running through the RAC, there is no delay, and the agent code is identical.
Comment 3 George Christelis CLA 2005-11-21 06:44:36 EST
Created attachment 30305 [details]
Sample Server Status Page
Comment 4 Hendra Suwanda CLA 2005-11-21 14:29:00 EST
George, using 20051117A build, I could not reproduce the problem.  The Agent Control View showed all the tree view reasonably quick, not in 45 sec. as you observed.  I used the instructions you gave me by puting ss.htm into htdocs directory.  Can you verify again?  Thanks.
Comment 5 George Christelis CLA 2005-11-22 09:05:29 EST
Hendra, I've reproduced this with the TPTP-4.1.0-200511170100B build on my Windows 2000 machine. It still takes a good 45 seconds to return the counters. I ran further tests on a second XP machine and the counters returned quickly (and you are seeing).

I am just about to try it on a second 2000 machine to try and reproduce the delay elsewhere.
Comment 6 George Christelis CLA 2005-11-22 09:58:27 EST
I've managed to reproduce this on three Windows 2000 boxes. The time taken varies from between 30 to 50 seconds. The behaviour is always the same, and is not dependent on what JRE or parser used.
Comment 7 Hendra Suwanda CLA 2005-11-22 11:08:38 EST
George, it looks like the problem occurs on Win2000 and not on XP.

I suggest that we defer this bugzilla to 4.2 and create a README on this.
Please let me know if you have any concern with my suggestion.
Thanks
Comment 8 Hendra Suwanda CLA 2005-11-22 11:45:19 EST
Transfering to 4.2 and will create a README for 4.1.
Comment 9 Hendra Suwanda CLA 2005-11-22 11:46:01 EST
George, it looks like the problem occurs on Win2000 and not on XP.

I suggest that we defer this bugzilla to 4.2 and create a README on this.
Please let me know if you have any concern with my suggestion.
Thanks
Comment 10 Hendra Suwanda CLA 2005-11-22 11:56:15 EST
Ignore Comment #9
It was sent by accident.  Sorry
Comment 11 Samson Wai CLA 2006-04-06 15:03:50 EDT
Will take a look in i3.
Comment 12 Samson Wai CLA 2006-06-06 15:55:42 EDT
Moving to TPTP 4.3.
Comment 13 Samson Wai CLA 2006-10-30 10:27:23 EST
Not containable in 4.3 and retarget to 4.4. Please let me know if you have any concern.
Comment 14 Samson Wai CLA 2007-01-31 12:21:08 EST
Retarget to future due to resource limitation.
Comment 15 Navid Mehregani CLA 2007-04-02 18:49:28 EDT
Should be resolved once bug 173330 is implemented.
Comment 16 Navid Mehregani CLA 2007-04-03 13:40:50 EDT
Not in the official plan but will try and fix in i3.
Comment 17 Navid Mehregani CLA 2007-05-05 00:15:35 EDT
Fixed through bug 173330
Comment 18 Paul Slauenwhite CLA 2009-06-30 12:05:36 EDT
As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since this enhancement/defect has been resolved and unverified for more than 1 year and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open.