Bug 91082 - limit the number of 'current' requests
limit the number of 'current' requests
Status: NEW
Product: javaee
Classification: Unclassified
Component: HTTP Monitor
5.x
All All
: P3 (vote)
: 6.x
Assigned To: issues@javaee
issues@javaee
: PERFORMANCE
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-12-14 15:59 UTC by jsight
Modified: 2007-10-23 15:39 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jsight 2006-12-14 15:59:34 UTC
I am seeing constant memory allocation and freeing with 100% CPU usage after it
has been up for about 1 day.

It goes away if I dump my .netbeans directory, but obviously that's a pain
(loses all of my settings).

I'm leaving this a little vague, as I'm not really sure how best to provide the
details that you need.  Feel free to ask for any specifics (and tell me the best
way to get them) and I will fill in more details.
Comment 1 jsight 2006-12-14 16:29:19 UTC
I've been able to research this a little more.

I am using ICEFaces (an AJAX framework) and left a webbrowser with it running
overnight.  The effect was that it generated tens of thousands of little
requests to the server.

The .netbeans/5.5/config/HTTPMonitor/current folder became infested with about
45000 little xml files.

Deleting that folder alone made the performance improve again.

I'll let this run again to try to make sure this is reproducable.
Comment 2 Peter Pis 2006-12-15 10:20:40 UTC
Reassigning to "web" for evaluation.
Comment 3 _ rkubacki 2006-12-16 17:47:31 UTC
better component + PERFORMANCE keyword
Comment 4 Sherold Dev 2006-12-18 07:45:20 UTC
The problem seems to be caused by the HTTP Monitor which records every request
that comes to the server. As a workaround you can disable the HTTP Monitor in
the Server Manager if you do not need it.

It would be reasonable to limit the number of 'current' requests, there is no
limit at this point. The default number can be for example 100 and it should be
customizable in the Options dialog.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo