Issue Type: Bug Bug
Assignee: Kohsuke Kawaguchi
Components: core, ssh-slaves-plugin
Created: 19/Mar/15 7:14 PM
Description:

After some period of time the Jenkins master will have up to ten thousand or so threads most of which are Computer.theadPoolForRemoting threads that have leaked. This forces us to restart the Jenkins master.

We do add and delete slave nodes frequently (thousands per day per master) which I think may be part of the problem.

I thought https://github.com/jenkinsci/ssh-slaves-plugin/commit/b5f26ae3c685496ba942a7c18fc9659167293e43 may be the fix because stacktraces indicated threads are hanging in the plugins afterDisconnect() method. I have updated half of our Jenkins masters to ssh-slaves plugin version 1.9 which includes that change, but early today we had a master with ssh-slaves plugin fall over from this issue.

Unfortunately I don't have any stacktraces handy (we had to force reboot the master today), but will update this bug if we get another case of this problem. Hoping that by filing it with as much info as I can we can at least start to diagnose the problem.

Environment: We are running Jenkins 1.565.3 with ssh-plugin 1.5 (the default with 1.565.3) on half the masters and ssh-plugin 1.9 (latest version) on the other half of the masters. Both sets exhibit this thread leakage. All masters run on Ubuntu Precise with java version "1.7.0_65" OpenJDK Runtime Environment (IcedTea 2.5.1) (7u65-2.5.1-4ubuntu1~0.12.04.2) OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode).
Project: Jenkins
Labels: slave
Priority: Major Major
Reporter: Clark Boylan
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to