You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jonathan Anstey (Commented) (JIRA)" <ji...@apache.org> on 2012/02/21 20:47:46 UTC
[jira] [Commented] (KARAF-1216) add-features-to-repo goal does not
reclaim file handles fast enough
[ 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 [1:02.352s]
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [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