[ https://issues.jenkins-ci.org/browse/JENKINS-13097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=160303#comment-160303 ]
SCM/JIRA link daemon commented on JENKINS-13097: ------------------------------------------------ Code changed in jenkins User: Kohsuke Kawaguchi Path: changelog.html core/pom.xml http://jenkins-ci.org/commit/jenkins/795a1db6d0a3aa6ea99a11fcd3fff2070724df57 Log: [FIXED JENKINS-13097] > File handle leak in serving static files > ---------------------------------------- > > Key: JENKINS-13097 > URL: https://issues.jenkins-ci.org/browse/JENKINS-13097 > Project: Jenkins > Issue Type: Bug > Components: core > Reporter: Kohsuke Kawaguchi > Priority: Critical > > {noformat} > at java.io.FileInputStream.<init>(FileInputStream.java:121) > at java.io.FileInputStream.<init>(FileInputStream.java:79) > at > sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70) > at > sun.net.www.protocol.file.FileURLConnection.initializeHeaders(FileURLConnection.java:90) > at > sun.net.www.protocol.file.FileURLConnection.getHeaderField(FileURLConnection.java:126) > at > sun.net.www.protocol.jar.JarURLConnection.getHeaderField(JarURLConnection.java:203) > at java.net.URLConnection.getHeaderFieldDate(URLConnection.java:603) > at java.net.URLConnection.getLastModified(URLConnection.java:532) > at org.kohsuke.stapler.Stapler.serveStaticResource(Stapler.java:241) > at org.kohsuke.stapler.Stapler.serveStaticResource(Stapler.java:252) > at org.kohsuke.stapler.ResponseImpl.serveFile(ResponseImpl.java:132) > at > org.kohsuke.stapler.framework.adjunct.AdjunctManager.doDynamic(AdjunctManager.java:129) > at sun.reflect.GeneratedMethodAccessor276.invoke(Unknown Source) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > {noformat} > There's a file handle leak in {{Stapler.serveStaticResource}} that badly > affects busy instances. I've fixed this in Stapler 1.182. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira