You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Mike Merrill (JIRA)" <ji...@codehaus.org> on 2012/08/13 23:34:21 UTC

[jira] (MNG-5325) Maven will hang on 64 bit linux build using more than one thread for maven.artificat.threads

Mike Merrill created MNG-5325:
---------------------------------

             Summary: Maven will hang on 64 bit linux build using more than one thread for maven.artificat.threads
                 Key: MNG-5325
                 URL: https://jira.codehaus.org/browse/MNG-5325
             Project: Maven 2 & 3
          Issue Type: Bug
          Components: Dependencies
    Affects Versions: 3.0.4
         Environment: mvn -X -Dmaven.artifact.threads=5 -Duser.home=/prod/build/mmerrill package
Apache Maven 3.0.4 (r1232337; 2012-01-17 08:44:56+0000)
Maven home: /prod/build/mmerrill/apache-maven-3.0.4
Java version: 1.6.0_31, vendor: Sun Microsystems Inc.
Java home: /usr/lib/jvm/java-1.6.0-sun-1.6.0.31.x86_64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "2.6.32-220.4.2.el6.x86_64", arch: "amd64", family: "unix"

            Reporter: Mike Merrill
         Attachments: outputWithThreadDump_3_0_4.txt, outputWithThreadDump.txt

When maven tries to download dependencies on linux (this works fine on my Windows build box), 64 bit, it gets stuck on downloading dependencies.  This issue is enclosed in the output file attached.  To get around the issue, I set the threads to one.  The output file also contains a thread dump at the end.

I've included output for versions 3.0.2, and versions 3.0.4.  

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

        

[jira] (MNG-5325) Maven will hang on 64 bit linux build using more than one thread for maven.artificat.threads

Posted by "Mike Merrill (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MNG-5325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mike Merrill closed MNG-5325.
-----------------------------

    Resolution: Not A Bug

This turned out to be caused by a special fakeroot program that we were invoking maven in.  The fakeroot program was made by sysadmins that no longer are around, so we just stopped using the fakeroot command in our builds, and maven now builds without hanging.  Sorry all for the noise.
                
> Maven will hang on 64 bit linux build using more than one thread for maven.artificat.threads
> --------------------------------------------------------------------------------------------
>
>                 Key: MNG-5325
>                 URL: https://jira.codehaus.org/browse/MNG-5325
>             Project: Maven 2 & 3
>          Issue Type: Bug
>          Components: Dependencies
>    Affects Versions: 3.0.4
>         Environment: mvn -X -Dmaven.artifact.threads=5 -Duser.home=/prod/build/mmerrill package
> Apache Maven 3.0.4 (r1232337; 2012-01-17 08:44:56+0000)
> Maven home: /prod/build/mmerrill/apache-maven-3.0.4
> Java version: 1.6.0_31, vendor: Sun Microsystems Inc.
> Java home: /usr/lib/jvm/java-1.6.0-sun-1.6.0.31.x86_64/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "2.6.32-220.4.2.el6.x86_64", arch: "amd64", family: "unix"
>            Reporter: Mike Merrill
>         Attachments: outputWithThreadDump_3_0_4.txt, outputWithThreadDump.txt
>
>
> When maven tries to download dependencies on linux (this works fine on my Windows build box), 64 bit, it gets stuck on downloading dependencies.  This issue is enclosed in the output file attached.  To get around the issue, I set the threads to one.  The output file also contains a thread dump at the end.
> I've included output for versions 3.0.2, and versions 3.0.4.  

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