You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Charles Gould (JIRA)" <ji...@apache.org> on 2016/04/15 17:03:25 UTC

[jira] [Comment Edited] (MASSEMBLY-774) too many open files

    [ https://issues.apache.org/jira/browse/MASSEMBLY-774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15243062#comment-15243062 ] 

Charles Gould edited comment on MASSEMBLY-774 at 4/15/16 3:02 PM:
------------------------------------------------------------------

Forgive my dullness, but where can I find version 2.10.3 (or later) of the Maven Assembly Plugin?

According to Maven Central and the [plugin page|https://maven.apache.org/plugins/maven-assembly-plugin] the latest version is 2.6.

*Edit*: Never mind, I see you were referring to [plexus-archiver|http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.codehaus.plexus%22%20AND%20a%3A%22plexus-archiver%22].


was (Author: cgould):
Forgive my dullness, but where can I find version 2.10.3 (or later) of the Maven Assembly Plugin?

According to Maven Central and the [plugin page|https://maven.apache.org/plugins/maven-assembly-plugin] the latest version is 2.6.

> too many open files
> -------------------
>
>                 Key: MASSEMBLY-774
>                 URL: https://issues.apache.org/jira/browse/MASSEMBLY-774
>             Project: Maven Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.5.5
>            Reporter: Dan Armbrust
>            Assignee: Kristian Rosenvold
>
> I ran across this - http://mail-archives.apache.org/mod_mbox/maven-dev/201501.mbox/%3CA2EE0D04-04E3-4C99-8842-67346386200C@takari.io%3E - and since I'm making huge zip files, I thought I would give it a try.
> I configured as:
>                 <plugin>
>                     <groupId>org.apache.maven.plugins</groupId>
>                     <artifactId>maven-assembly-plugin</artifactId>
>                     <version>2.5.5</version>
>                     <dependencies>
>                         <dependency>
>                             <groupId>org.codehaus.plexus</groupId>
>                             <artifactId>plexus-archiver</artifactId>
>                             <version>3.0.1</version>
>                         </dependency>
>                         <dependency>
>                             <groupId>org.codehaus.plexus</groupId>
>                             <artifactId>plexus-io</artifactId>
>                             <version>2.6</version>
>                         </dependency>
>                     </dependencies>
>                 </plugin>
> But this lead to a failure:
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.5.5:single (zip) on project ... sememe/seg.3182.sememe.map (Too many open files) -> [Help 1]
> I certainly could raise my ulimit:
> darmbrust@overkill:/mnt/STORAGE/Work/Apelon/Workspaces/ISAAC-Core-2/va-solor-goods$ ulimit -a
> ...
> open files                      (-n) 1024
> But it seems it would be better if the zip process limited itself to a reasonable number of open files.  I don't know the algorithm... but it seems that double or triple the processor count would be more than enough.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)