karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Anstey (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-1216) add-features-to-repo goal does not reclaim file handles fast enough
Date Tue, 21 Feb 2012 19:47:46 GMT

    [ https://issues.apache.org/jira/browse/KARAF-1216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13212843#comment-13212843

Jonathan Anstey commented on KARAF-1216:

Oh, the patch was for the 2.2.x branch btw.
> add-features-to-repo goal does not reclaim file handles fast enough
> -------------------------------------------------------------------
>                 Key: KARAF-1216
>                 URL: https://issues.apache.org/jira/browse/KARAF-1216
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-tooling
>    Affects Versions: 2.2.5
>            Reporter: Jonathan Anstey
>         Attachments: KARAF-1216.patch
> For larger feature sets like for the ServiceMix Full distro, the number of file handles
accumulated can exceed the OS defaults on some systems. The culprit seems to be that for every
bundle a Maven ArtifactResolver is used to download that bundle and the file used during that
process is not reclaimed until the goal finishes executing. I see the following in ServiceMix:
> [INFO] Apache ServiceMix :: Features :: Assemblies :: Apache ServiceMix (Full)  FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 27:03.531s
> [INFO] Finished at: Tue Feb 21 18:07:56 UTC 2012
> [INFO] Final Memory: 121M/554M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.karaf.tooling:features-maven-plugin:2.2.4:add-features-to-repo
(add-features-to-repo) on project apache-servicemix-full: Error populating repository: /x1/asf/servicemix/smx4/features/trunk/assemblies/apache-servicemix-full/target/features-repo/org/eclipse/jetty/jetty-continuation/7.4.5.v20110725/jetty-continuation-7.4.5.v20110725.jar
(Too many open files) -> [Help 1]
> Attaching a simple fix shortly...

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message