-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 6.2.0 CE GA1, 7.0.0 M3
-
Fix Version/s: 6.2.2 CE GA3 , 6.2.3 CE GA4, 6.2.X EE, 7.0.0 M1
-
Branch Version/s:6.2.x
-
Backported to Branch:Committed
-
Git Pull Request:
Resources are not closed after checking for last modification time me in ServletContextUtil.getLastModified(ServletContext servletContext, String path, boolean cache). Leaving server with caa 21k+ open descriptors, that results in too many open files exception.
We ware evaluating problems with deployment of LifeRay to WildFly 8 described in
https://issues.jboss.org/browse/WFLY-2862
Problem was traced to the way LifeRay gets timestamps which leaves files handles open until GC cleans them up.
With this fix applied users are not seeing problems with "too many open files" anymore.