tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 47133] New: Reloading web application causes CPU usage to spike when using AIO
Date Fri, 01 May 2009 11:09:34 GMT

           Summary: Reloading web application causes CPU usage to spike
                    when using AIO
           Product: Tomcat 6
           Version: 6.0.18
          Platform: PC
        OS/Version: Windows Vista
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Connectors

Created an attachment (id=23568)
 --> (
Web Application

When using Tomcat 6 with Advanced IO the CPU usage will go to 100% under the
following sequence of events:

1) Start Tomcat
2) "Reload" AIO-Enabled Web Application from Tomcat Web Application Manager
3) Open Web Application
4) Terminate Web Application in middle of a request (i.e. Close Browser or
issue an XMLHttpRequest.abort()).

Once this is done the CPU will jump dramatically.

I have attached a NetBeans project that shows this phenomenon.  When viewing
the index.jsp file, just click the "End" button.

It should be noted that CPU usage remains normal if the web application is
first undeployed then deployed again.  CPU usage will only spike if the web
application is explicitly reloaded.



Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message