tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
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
https://issues.apache.org/bugzilla/show_bug.cgi?id=47133

           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
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: kenneth.gendron@gmail.com


Created an attachment (id=23568)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?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
page
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.

Thanks,

Ken

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message