[JIRA] Created: (HUDSON-5174) (Too many open files) from svn to hg

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[JIRA] Created: (HUDSON-5174) (Too many open files) from svn to hg

Hudson issues mailing list
(Too many open files) from svn to hg
------------------------------------

                 Key: HUDSON-5174
                 URL: http://issues.hudson-ci.org/browse/HUDSON-5174
             Project: Hudson
          Issue Type: Bug
          Components: mercurial
         Environment: Ubuntu Server 64
java version "1.6.0_15"
Java(TM) SE Runtime Environment (build 1.6.0_15-b03)
Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02, mixed mode)
Hudson 1.338
Mercurial Distributed SCM (version 1.3.1)

            Reporter: sridher
            Assignee: kohsuke


earlier we used svn worked perfectly later we migrated to mercurial then it showing the error trace:

Started by timer
[workspace] $ hg incoming --quiet --bundle hg.bundle --template "<changeset node='{node}' author='{author|xmlescape}' rev='{rev}' date='{date}'><msg>{desc|xmlescape}</msg><added>{file_adds|stringify|xmlescape}</added><deleted>{file_dels|stringify|xmlescape}</deleted><files>{files|stringify|xmlescape}</files><parents>{parents}</parents></changeset>\n" --rev default
ERROR: Failed to pull
java.io.IOException: Cannot run program "hg" (in directory "/var/lib/tomcat6/hudson/jobs/gwtui/workspace"): java.io.IOException: error=24, Too many open files
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)
        at hudson.Proc$LocalProc.<init>(Proc.java:148)
        at hudson.Proc$LocalProc.<init>(Proc.java:120)
        at hudson.Launcher$LocalLauncher.launch(Launcher.java:633)
        at hudson.Launcher$ProcStarter.start(Launcher.java:268)
        at hudson.Launcher$ProcStarter.join(Launcher.java:275)
        at hudson.plugins.mercurial.MercurialSCM.update(MercurialSCM.java:424)
        at hudson.plugins.mercurial.MercurialSCM.checkout(MercurialSCM.java:361)
        at hudson.model.AbstractProject.checkout(AbstractProject.java:1013)
        at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:486)
        at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:412)
        at hudson.model.Run.run(Run.java:1179)
        at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:304)
        at hudson.model.ResourceController.execute(ResourceController.java:88)
        at hudson.model.Executor.run(Executor.java:122)
Caused by: java.io.IOException: java.io.IOException: error=24, Too many open files
        at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
        at java.lang.ProcessImpl.start(ProcessImpl.java:65)
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
        ... 14 more
Skipping sonar analysis due to bad build status FAILURE



Later we changed the files limit 8000 in limits then we are getting




Started by timer
/var/lib/tomcat6/hudson/jobs/branch/workspace/.hg/hgrc (Too many open files)
Skipping sonar analysis due to bad build status FAILURE
Finished: FAILURE



--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Resolved: (HUDSON-5174) (Too many open files) from svn to hg

Hudson issues mailing list

     [ http://issues.hudson-ci.org/browse/HUDSON-5174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

jglick resolved HUDSON-5174.
----------------------------

    Resolution: Incomplete

I don't know of anything in the Hudson Mercurial plugin that would hold open very many files at once, so this is probably due to some other problem.

1. Try making the limit much larger than 8000.

2. Check if the inotify extension is being enabled in your Hg installation. This can exceed typical open-file limits very quickly on a large repo. A server should not generally be using this extension.

3. Use /usr/bin/lsof to diagnose what processes are holding which processes open and try to guess why that would be.

> (Too many open files) from svn to hg
> ------------------------------------
>
>                 Key: HUDSON-5174
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-5174
>             Project: Hudson
>          Issue Type: Bug
>          Components: mercurial
>         Environment: Ubuntu Server 64
> java version "1.6.0_15"
> Java(TM) SE Runtime Environment (build 1.6.0_15-b03)
> Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02, mixed mode)
> Hudson 1.338
> Mercurial Distributed SCM (version 1.3.1)
>            Reporter: sridher
>            Assignee: kohsuke
>
> earlier we used svn worked perfectly later we migrated to mercurial then it showing the error trace:
> Started by timer
> [workspace] $ hg incoming --quiet --bundle hg.bundle --template "<changeset node='{node}' author='{author|xmlescape}' rev='{rev}' date='{date}'><msg>{desc|xmlescape}</msg><added>{file_adds|stringify|xmlescape}</added><deleted>{file_dels|stringify|xmlescape}</deleted><files>{files|stringify|xmlescape}</files><parents>{parents}</parents></changeset>\n" --rev default
> ERROR: Failed to pull
> java.io.IOException: Cannot run program "hg" (in directory "/var/lib/tomcat6/hudson/jobs/gwtui/workspace"): java.io.IOException: error=24, Too many open files
> at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)
> at hudson.Proc$LocalProc.<init>(Proc.java:148)
> at hudson.Proc$LocalProc.<init>(Proc.java:120)
> at hudson.Launcher$LocalLauncher.launch(Launcher.java:633)
> at hudson.Launcher$ProcStarter.start(Launcher.java:268)
> at hudson.Launcher$ProcStarter.join(Launcher.java:275)
> at hudson.plugins.mercurial.MercurialSCM.update(MercurialSCM.java:424)
> at hudson.plugins.mercurial.MercurialSCM.checkout(MercurialSCM.java:361)
> at hudson.model.AbstractProject.checkout(AbstractProject.java:1013)
> at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:486)
> at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:412)
> at hudson.model.Run.run(Run.java:1179)
> at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:304)
> at hudson.model.ResourceController.execute(ResourceController.java:88)
> at hudson.model.Executor.run(Executor.java:122)
> Caused by: java.io.IOException: java.io.IOException: error=24, Too many open files
> at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
> at java.lang.ProcessImpl.start(ProcessImpl.java:65)
> at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
> ... 14 more
> Skipping sonar analysis due to bad build status FAILURE
> Later we changed the files limit 8000 in limits then we are getting
> Started by timer
> /var/lib/tomcat6/hudson/jobs/branch/workspace/.hg/hgrc (Too many open files)
> Skipping sonar analysis due to bad build status FAILURE
> Finished: FAILURE

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Assigned: (HUDSON-5174) (Too many open files) from svn to hg

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

     [ http://issues.hudson-ci.org/browse/HUDSON-5174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

jglick reassigned HUDSON-5174:
------------------------------

    Assignee: jglick  (was: kohsuke)

> (Too many open files) from svn to hg
> ------------------------------------
>
>                 Key: HUDSON-5174
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-5174
>             Project: Hudson
>          Issue Type: Bug
>          Components: mercurial
>         Environment: Ubuntu Server 64
> java version "1.6.0_15"
> Java(TM) SE Runtime Environment (build 1.6.0_15-b03)
> Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02, mixed mode)
> Hudson 1.338
> Mercurial Distributed SCM (version 1.3.1)
>            Reporter: sridher
>            Assignee: jglick
>
> earlier we used svn worked perfectly later we migrated to mercurial then it showing the error trace:
> Started by timer
> [workspace] $ hg incoming --quiet --bundle hg.bundle --template "<changeset node='{node}' author='{author|xmlescape}' rev='{rev}' date='{date}'><msg>{desc|xmlescape}</msg><added>{file_adds|stringify|xmlescape}</added><deleted>{file_dels|stringify|xmlescape}</deleted><files>{files|stringify|xmlescape}</files><parents>{parents}</parents></changeset>\n" --rev default
> ERROR: Failed to pull
> java.io.IOException: Cannot run program "hg" (in directory "/var/lib/tomcat6/hudson/jobs/gwtui/workspace"): java.io.IOException: error=24, Too many open files
> at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)
> at hudson.Proc$LocalProc.<init>(Proc.java:148)
> at hudson.Proc$LocalProc.<init>(Proc.java:120)
> at hudson.Launcher$LocalLauncher.launch(Launcher.java:633)
> at hudson.Launcher$ProcStarter.start(Launcher.java:268)
> at hudson.Launcher$ProcStarter.join(Launcher.java:275)
> at hudson.plugins.mercurial.MercurialSCM.update(MercurialSCM.java:424)
> at hudson.plugins.mercurial.MercurialSCM.checkout(MercurialSCM.java:361)
> at hudson.model.AbstractProject.checkout(AbstractProject.java:1013)
> at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:486)
> at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:412)
> at hudson.model.Run.run(Run.java:1179)
> at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:304)
> at hudson.model.ResourceController.execute(ResourceController.java:88)
> at hudson.model.Executor.run(Executor.java:122)
> Caused by: java.io.IOException: java.io.IOException: error=24, Too many open files
> at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
> at java.lang.ProcessImpl.start(ProcessImpl.java:65)
> at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
> ... 14 more
> Skipping sonar analysis due to bad build status FAILURE
> Later we changed the files limit 8000 in limits then we are getting
> Started by timer
> /var/lib/tomcat6/hudson/jobs/branch/workspace/.hg/hgrc (Too many open files)
> Skipping sonar analysis due to bad build status FAILURE
> Finished: FAILURE

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (HUDSON-5174) (Too many open files) from svn to hg

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

    [ http://issues.hudson-ci.org/browse/HUDSON-5174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=134694#action_134694 ]

mfriedenhagen commented on HUDSON-5174:
---------------------------------------

@sridher: It would be interesting to know how many files are in your project. The plugin seems to choke while invoking {{hg}}.

> (Too many open files) from svn to hg
> ------------------------------------
>
>                 Key: HUDSON-5174
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-5174
>             Project: Hudson
>          Issue Type: Bug
>          Components: mercurial
>         Environment: Ubuntu Server 64
> java version "1.6.0_15"
> Java(TM) SE Runtime Environment (build 1.6.0_15-b03)
> Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02, mixed mode)
> Hudson 1.338
> Mercurial Distributed SCM (version 1.3.1)
>            Reporter: sridher
>            Assignee: jglick
>
> earlier we used svn worked perfectly later we migrated to mercurial then it showing the error trace:
> Started by timer
> [workspace] $ hg incoming --quiet --bundle hg.bundle --template "<changeset node='{node}' author='{author|xmlescape}' rev='{rev}' date='{date}'><msg>{desc|xmlescape}</msg><added>{file_adds|stringify|xmlescape}</added><deleted>{file_dels|stringify|xmlescape}</deleted><files>{files|stringify|xmlescape}</files><parents>{parents}</parents></changeset>\n" --rev default
> ERROR: Failed to pull
> java.io.IOException: Cannot run program "hg" (in directory "/var/lib/tomcat6/hudson/jobs/gwtui/workspace"): java.io.IOException: error=24, Too many open files
> at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)
> at hudson.Proc$LocalProc.<init>(Proc.java:148)
> at hudson.Proc$LocalProc.<init>(Proc.java:120)
> at hudson.Launcher$LocalLauncher.launch(Launcher.java:633)
> at hudson.Launcher$ProcStarter.start(Launcher.java:268)
> at hudson.Launcher$ProcStarter.join(Launcher.java:275)
> at hudson.plugins.mercurial.MercurialSCM.update(MercurialSCM.java:424)
> at hudson.plugins.mercurial.MercurialSCM.checkout(MercurialSCM.java:361)
> at hudson.model.AbstractProject.checkout(AbstractProject.java:1013)
> at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:486)
> at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:412)
> at hudson.model.Run.run(Run.java:1179)
> at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:304)
> at hudson.model.ResourceController.execute(ResourceController.java:88)
> at hudson.model.Executor.run(Executor.java:122)
> Caused by: java.io.IOException: java.io.IOException: error=24, Too many open files
> at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
> at java.lang.ProcessImpl.start(ProcessImpl.java:65)
> at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
> ... 14 more
> Skipping sonar analysis due to bad build status FAILURE
> Later we changed the files limit 8000 in limits then we are getting
> Started by timer
> /var/lib/tomcat6/hudson/jobs/branch/workspace/.hg/hgrc (Too many open files)
> Skipping sonar analysis due to bad build status FAILURE
> Finished: FAILURE

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]