I'm not aware of any known cases where the current git plugin leaks file descriptors. However, there are several different bug reports from the past that might be worth reviewing to see if they provide any hints for your case
https://issues.jenkins-ci.org/browse/JENKINS-17894 - don't use gitk.cmd (or git.cmd), use git.exe https://issues.jenkins-ci.org/browse/JENKINS-20356 - don't use ssh URL if slave or master running as Windows service http://stackoverflow.com/questions/22660446/invalid-id-process-leaked-file-descriptors-jenkins - similar stack trace to first question on this thread, but the answer is not really an answer https://groups.google.com/forum/#!topic/jenkinsci-users/IP5eiSSVqBs - don't use gitk.cmd as the git executable You might also check if you're using a shallow clone in the job definition which might be causing the reading of history to fail. Mark Waite On Mon, May 25, 2015 at 3:36 AM Gösen Jojjasson <gos...@gmail.com> wrote: > Hi, > > We are experiencing your first problem (1) very often and I have no clue > why. > Jenkins running on CentOS against a local GitLab repo. > Jenkins ver. 1.602 > GIT client plugin ver. 1.17.1 > GIT plugin ver. 2.3.5 > /usr/bin/git --version ver. 1.8.3.1 > > > /usr/bin/git config --local --remove-section credential # timeout=10 > ERROR: Failed to record SCM polling for > hudson.model.FreeStyleProject@3b875e0e[project-name-XYZ] > org.eclipse.jgit.errors.InvalidObjectIdException: Invalid id : Process > leaked file descriptors. See htt > at org.eclipse.jgit.lib.ObjectId.fromHexString(ObjectId.java:245) > at org.eclipse.jgit.lib.ObjectId.fromString(ObjectId.java:233) > at > org.jenkinsci.plugins.gitclient.CliGitAPIImpl.getHeadRev(CliGitAPIImpl.java:2333) > at hudson.plugins.git.GitSCM.compareRemoteRevisionWithImpl(GitSCM.java:576) > at hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:526) > at hudson.scm.SCM.compareRemoteRevisionWith(SCM.java:380) > at hudson.scm.SCM.poll(SCM.java:397) > at hudson.model.AbstractProject._poll(AbstractProject.java:1446) > at hudson.model.AbstractProject.poll(AbstractProject.java:1349) > at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:515) > at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:544) > at > hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118) > ... > > Any help appreciated! > > Best regards, > Gösta > > On Tuesday, May 19, 2015 at 9:38:17 PM UTC+2, Ron Morin wrote: >> >> hi, >> >> I am not sure if this is the correct place to post Jenkins >> questions\issues. so please point me to the right place if this is not the >> right forum. >> >> I am seeing two issues that come up frequently. >> >> 1.) in the Jenkins log I see the error message: >> >> May 19, 2015 12:57:05 PM SEVERE hudson.triggers.SCMTrigger$Runner runPolling >> >> Failed to record SCM polling for >> hudson.model.FreeStyleProject@2bc957f4[Deploy Integrated Analytics] >> org.eclipse.jgit.errors.InvalidObjectIdException: Invalid id : Process >> leaked file descriptors. See http >> >> ://wiki.jenkins-ci.org/display/JENKINS/Spawning+processes+from+build >> >> >> I have looked at the web link but do not see how it applies. >> >> >> 2.) Occasionally Jenkins jobs will fail with a timeout error message trying >> to pull from git. This is because on the Jenkins host there are many git >> processes running seemingly doing nothing >> >> >> I am using Jenkins on windows Ver:1.595 the Git Client Plugin ver: 1.17.0 >> and GIT plugin ver: 2.3.5 >> >> >> and the git client is ver:1.9.5.msysgit.1 >> >> >> Any help will be appreciated >> >> Thanks >> >> -Ron >> >> -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to jenkinsci-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/93103458-dfa8-4e4f-8275-39d2b4817e43%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/93103458-dfa8-4e4f-8275-39d2b4817e43%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtEbV3mrQ9q_36ve_5dGfUO2OmhmZZVZKkTXC98hnOh59Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.