Return-Path: X-Original-To: apmail-karaf-issues-archive@minotaur.apache.org Delivered-To: apmail-karaf-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E25169F38 for ; Fri, 27 Apr 2012 23:05:34 +0000 (UTC) Received: (qmail 35454 invoked by uid 500); 27 Apr 2012 23:05:34 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 35426 invoked by uid 500); 27 Apr 2012 23:05:34 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 35408 invoked by uid 99); 27 Apr 2012 23:05:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2012 23:05:34 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2012 23:05:32 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id C94A4424E51 for ; Fri, 27 Apr 2012 23:04:52 +0000 (UTC) Date: Fri, 27 Apr 2012 23:04:52 +0000 (UTC) From: "Jamie goodyear (JIRA)" To: issues@karaf.apache.org Message-ID: <159515603.5066.1335567892825.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1015837459.438.1329853426246.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Closed] (KARAF-1216) add-features-to-repo goal does not reclaim file handles fast enough MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/KARAF-1216?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Jamie goodyear closed KARAF-1216. --------------------------------- =20 > 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 > Assignee: Jean-Baptiste Onofr=C3=A9 > Fix For: 2.2.6, 3.0.0 > > Attachments: KARAF-1216.patch > > > For larger feature sets like for the ServiceMix Full distro, the number o= f 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 reclai= med 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-pl= ugin:2.2.4:add-features-to-repo (add-features-to-repo) on project apache-se= rvicemix-full: Error populating repository: /x1/asf/servicemix/smx4/feature= s/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 administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira