[JIRA] (JENKINS-50005) WARNING: Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information

51 views
Skip to first unread message

syaramada-c@scrippsnetworks.com (JIRA)

unread,
Mar 7, 2018, 4:18:02 PM3/7/18
to jenkinsc...@googlegroups.com
suryatej yaramada created an issue
 
Jenkins / Bug JENKINS-50005
WARNING: Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
Issue Type: Bug Bug
Assignee: Unassigned
Components: core
Created: 2018-03-07 21:17
Environment: Jenkins - 2.89.3 running in AMAZONLINUX
We use SAML Plugin for oklta SSO login
Priority: Critical Critical
Reporter: suryatej yaramada

we frequently facing this issue . pelase let me know what needs to be done. Mar 07, 2018 7:03:18 PM hudson.Proc$LocalProc join
WARNING: Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
java.lang.Exception
at hudson.Proc$LocalProc.join(Proc.java:334)
at hudson.Proc.joinWithTimeout(Proc.java:170)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1986)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1709)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1620)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1611)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.getHeadRev(CliGitAPIImpl.java:2772)
at hudson.plugins.git.GitSCM.compareRemoteRevisionWithImpl(GitSCM.java:672)
at hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:631)
at hudson.scm.SCM.compareRemoteRevisionWith(SCM.java:391)
at hudson.scm.SCM.poll(SCM.java:408)
at hudson.model.AbstractProject._poll(AbstractProject.java:1384)
at hudson.model.AbstractProject.poll(AbstractProject.java:1287)
at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:594)
at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:640)
at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:119)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)
Atlassian logo

o.v.nenashev@gmail.com (JIRA)

unread,
Mar 7, 2018, 6:23:01 PM3/7/18
to jenkinsc...@googlegroups.com

o.v.nenashev@gmail.com (JIRA)

unread,
Mar 7, 2018, 6:24:02 PM3/7/18
to jenkinsc...@googlegroups.com

mark.earl.waite@gmail.com (JIRA)

unread,
Mar 7, 2018, 6:47:02 PM3/7/18
to jenkinsc...@googlegroups.com

mark.earl.waite@gmail.com (JIRA)

unread,
Mar 7, 2018, 6:56:01 PM3/7/18
to jenkinsc...@googlegroups.com
Mark Waite commented on Bug JENKINS-50005
 
Re: WARNING: Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information

Please explain the conditions which cause that message to appear in your logs and why you believe that is critical.

The stack trace shows that the git plugin is requesting the head revision of the remote repository. It calls git ls-remote to request the head revision. That is an authenticated call. Are the correct credentials provided to the Jenkins job? If not, does the problem resolve itself when correct credentials are provided?

Is the Jenkins server reporting that so frequently that it is exhausting file descriptors and causing the Jenkins process to crash?

What version of command line git are you using?

What operating system and version is hosting the Jenkins instance?

Is the hosting operating system current with most recent patches?

Refer to "How to report an issue" for more details of the type of information needed in a bug report.

syaramada-c@scrippsnetworks.com (JIRA)

unread,
Mar 9, 2018, 11:31:02 AM3/9/18
to jenkinsc...@googlegroups.com

dbeck@cloudbees.com (JIRA)

unread,
Mar 15, 2018, 7:36:02 AM3/15/18
to jenkinsc...@googlegroups.com

mark.earl.waite@gmail.com (JIRA)

unread,
Mar 15, 2018, 8:23:02 AM3/15/18
to jenkinsc...@googlegroups.com

syaramada-c@scrippsnetworks.com (JIRA)

unread,
Mar 15, 2018, 3:27:03 PM3/15/18
to jenkinsc...@googlegroups.com
suryatej yaramada commented on Bug JENKINS-50005
 
Re: WARNING: Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information

After upgrading jenkins to LTS version along with plugin updates we are not seeing those errors so far

Reply all
Reply to author
Forward
0 new messages