Brian Slesinsky created MNG-5709:
------------------------------------

             Summary: very slow builds on machines with slow Unix group lookups
                 Key: MNG-5709
                 URL: https://jira.codehaus.org/browse/MNG-5709
             Project: Maven
          Issue Type: Bug
    Affects Versions: 3.2.3, 3.1.1
         Environment: Ubuntu Trusty, OpenJDK 7 (modified)
            Reporter: Brian Slesinsky


While building a Maven project, it appeared to hang while packaging a large 
jar. Running jstack showed that it was getting stuck in the Java 7 
implementation of getgrgid. It looks like it's doing this for every file and 
there are lots of files. This is already fixed in plexus-io-2.0.5 [1] but Maven 
needs to upgrade to the new version.

A workaround is to patch it in the the pom, such as [2]. However, this needs to 
be done in each project.

This isn't easy to reproduce; I've seen it on some machines but not others.

[1] http://jira.codehaus.org/browse/PLXCOMP-203
[2] https://gwt-review.googlesource.com/#/c/10050/1/pom.xml



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to