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

dogfood commented on JENKINS-13097:
-----------------------------------

Integrated in !http://ci.jenkins-ci.org/images/16x16/blue.png! 
[jenkins_main_trunk #1589|http://ci.jenkins-ci.org/job/jenkins_main_trunk/1589/]
     [FIXED JENKINS-13097] (Revision 795a1db6d0a3aa6ea99a11fcd3fff2070724df57)

     Result = SUCCESS
Kohsuke Kawaguchi : 
[795a1db6d0a3aa6ea99a11fcd3fff2070724df57|https://github.com/jenkinsci/jenkins/commit/795a1db6d0a3aa6ea99a11fcd3fff2070724df57]
Files : 
* core/pom.xml
* changelog.html

                
> 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