You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2010/01/25 12:58:41 UTC
DO NOT REPLY [Bug 48605] New: Files not closed quickly enough during
deployment / lack of recovery
https://issues.apache.org/bugzilla/show_bug.cgi?id=48605
Summary: Files not closed quickly enough during deployment /
lack of recovery
Product: Tomcat 6
Version: 6.0.20
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Catalina
AssignedTo: dev@tomcat.apache.org
ReportedBy: grahamtriggs@gmail.com
When deploying applications, new file resources (operating system level) are
being consumed faster than they are released.
In some cases (ie. starting Tomcat when there are many applications in the
webapps folder), this can lead to the maximum open file limits being breached -
resulting in class not found exceptions and 'incomplete' deployments.
Subsequently reloading an incompletely loaded application may or may not work -
file handles consumed during loading are being released, but it appears that
you can also run into the situation where the failure to load a class is
cached, and so it doesn't check again - but undeploying and redeploying the
application will cause it to be loaded correctly.
This can be worked around by increasing the maximum number of concurrently open
files in the operating system. But ideally, the container should be better at
gracefully recovering from an failure to load a class and trying again.
This also applies to Tomcat 5.5
--
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
DO NOT REPLY [Bug 48605] Files not closed quickly enough during
deployment / lack of recovery
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48605
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX
--- Comment #1 from Mark Thomas <ma...@apache.org> 2010-02-01 16:47:04 GMT ---
The webapp class loader caches both found and not found resources for
performance reasons. If you have a large number of web applicatoins then it is
expected that you'll need to increase the maximum number of open file
descriptors.
--
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