[TK-151] Expose 'idle timeout' as a first-class config setting in tk-j9 Created: 2015/02/18 Updated: 2015/03/25 Resolved: 2015/03/24
|Fix Version/s:||TK-JETTY9 1.2.0|
|Reporter:||Chris Price||Assignee:||Erik Dasher|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
|Epic Link:||Green: Puppet Server 1.0.8 / PE 3.8|
|Sprint:||Server Jade 2015-03-04, Server Jade 2015-03-18, Server Jade 2015-04-01|
Jetty has a setting called 'idle timeout' that can be used to cause the server to forcefully disconnect clients if their connection is idle for longer than a specified amount of time. We should make this setting accessible through our config files.
|Comment by Lindsey Smith [ 2015/02/19 ]|
Aaron Armstrong is this something we could consider for PE 3.8?
|Comment by Chris Price [ 2015/02/20 ]|
Lindsey Smith everything in this epic is stuff that my team believes needs to go in.
|Comment by Erik Dasher [ 2015/03/20 ]|
I consider the probability that a customer will encounter issues with this change to be low based on the manual and automated unit testing in the PR and because we provide a sensible default, and finally because this should only affect operations when things are under a large load or slow for some reason.
I consider the severity of issues that a customer may encounter around this issue to be medium. This is hard to measure because there are many possible scenarios. One extremely visible scenario is that parts of the PE console wouldn't work right under load. Some agent runs might not complete if an endpoint times out because a large catalog is being complied.
QA views this as a medium risk change, and plans to perform functional review, but not to provide automated testing. We will check that the setting actually takes effect, and that the jetty session stays open as long as we expect.
I would appreciate comments and corrections on my above notes from Jeremy Barlow ...
|Comment by Jeremy Barlow [ 2015/03/20 ]|
Erik Dasher That all sounds sane to me, thanks.
|Comment by Erik Dasher [ 2015/03/24 ]|
Tested in ubuntu 14 with foss build 1.0.4.SNAPSHOT.2015.03.24T0146
set idle-teimout-milliseconds = 100000 in /etc/puppetserver/conf.d/webserver.conf (misspelling on purpose)
set idle-timeout-milliseconds = 100000 in /etc/puppetserver/conf.d/webserver.conf
set idle-timeout-milliseconds = 1 restarted
set idle-timeout-milliseconds = 3000 restarted