[ 
https://issues.jenkins-ci.org/browse/JENKINS-13097?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

SCM/JIRA link daemon resolved JENKINS-13097.
--------------------------------------------

    Resolution: Fixed
    
> 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

        

Reply via email to