You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "James Peach (JIRA)" <ji...@apache.org> on 2013/06/22 01:12:20 UTC

[jira] [Commented] (TS-1969) Mechanism to perform a graceful restart of trafficserver

    [ https://issues.apache.org/jira/browse/TS-1969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13690878#comment-13690878 ] 

James Peach commented on TS-1969:
---------------------------------

One idea that we discussed on IRC is to disable the cache in the old traffic_server process. This would put it into a proxy-only mode where it can drain connections.
                
> Mechanism to perform a graceful restart of trafficserver
> --------------------------------------------------------
>
>                 Key: TS-1969
>                 URL: https://issues.apache.org/jira/browse/TS-1969
>             Project: Traffic Server
>          Issue Type: New Feature
>            Reporter: Kris Lindgren
>
> For example HAproxy has the ability to start a new HAproxy instance to tell the old one to temporarily disconnect from the socket so the new process can take it over.  If startup was successful then new connections are handled by the new HAproxy instance and old connections are handled by the old HAproxy instance.  Once all the old connections have finished the old instance terminates.
> I am currently using 3.2.4 and am trying to mitigate the breaking of existing connections when restarting. Specifically around adding a new SSL cert, but It would also be nice to mitigate breaking of connections when changing listen ports as well, or when you change certain configurations options that require a restart.  I understand that the current 3.3.x branch should have a feature to re-read the ssl certs without requiring a restart.
> One possible issue with the above model is that the cache could only be owned by one process.  It would be nice if the old process would degrade into read-only or a proxy-only mode.

--
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