timja / jenkins-gh-issues-poc-06-18

0 stars 0 forks source link

[JENKINS-36030] WARNING: Process leaked file descriptors #3269

Open timja opened 8 years ago

timja commented 8 years ago

In the Node log we are getting error like below error. It leads to job stuck randomly.

We have tried few WA as setting -Dhudson.util.ProcessTree.disable=true and BUILD_ID=DoNotKillMe etc.

WARNING: Process leaked file descriptors. See http://wiki.jenkins-ci.org/display/JENKINS/Spawning+processes+from+build for more information
java.lang.Exception
at hudson.Proc$LocalProc.join(Proc.java:329)
at hudson.Launcher$RemoteLaunchCallable$1.join(Launcher.java:1154)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)


Originally reported by bismayam, imported from: WARNING: Process leaked file descriptors
  • assignee: bismayam
  • status: Open
  • priority: Critical
  • resolution: Unresolved
  • imported: 2022/01/10
timja commented 8 years ago

lmcazra:

We are seeing similar issue on our slaves:
Jenkins ver. 1.642.2, Git client 1.19.5
Any insight on how to resolve/workaround this issue??

Jul 25, 2016 8:29:57 AM hudson.Proc$LocalProc join
WARNING: Process leaked file descriptors. See http://wiki.jenkins-ci.org/display/JENKINS/Spawning+processes+from+build for more information
java.lang.Exception
at hudson.Proc$LocalProc.join(Proc.java:329)
at hudson.Proc.joinWithTimeout(Proc.java:168)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1706)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1454)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:63)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:314)
at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:152)
at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:145)
at hudson.remoting.UserRequest.perform(UserRequest.java:120)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:326)
at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:724)