![]() |
|
|
|
|
Issue Type:
|
Bug
|
|
Assignee:
|
Kohsuke Kawaguchi
|
|
Components:
|
ssh-slaves-plugin |
|
Created:
|
18/Nov/14 1:14 AM
|
|
Description:
|
I've encountered a situation in which the Jenkins shutdown hangs at the following stacks that span across three threads:
The SSH server was on a VM that was gone. In this case clearly the TCP socket on the Jenkins master hasn't gotten the news, so it thinks it is still connected.
It has been hang for a good 3 minutes before I "kill -9"ed it.
I'm not sure what the right thing to do here. The socket write could block, and it can block for a long time before the sender decides that the connection is lost. The attempt to close in PluginImpl.stop() should probably do the shutdown in other threads so that the main thread can move on with the shutdown if it hangs.
|
|
Project:
|
Jenkins
|
|
Priority:
|
Minor
|
|
Reporter:
|
Kohsuke Kawaguchi
|
|
|
|
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
[email protected].
For more options, visit
https://groups.google.com/d/optout.