trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From feng D <fengi...@gmail.com>
Subject Re: Hot restart
Date Fri, 29 Jan 2016 05:27:00 GMT
I know the two way.
I want to:

1. sync all data to disks
2. stop write to disks, only read cache
3. start a new traffic_server from manage with the same listen fd accept
new connection
4. stop old traffic_server to accept new reqeusts.
5. old traffic_server will exit when all connect end

I think this is hot restart.

2016-01-29 8:59 GMT+08:00 Miles Libbey <mlibbey@apache.org>:

> Could you say what the properties of 'like nginx' you are looking for?
> For instance, trafficserver has a way to reload configuration files without
> affecting existing connections... and a way to restart after draining
> existing connections...
>
> https://docs.trafficserver.apache.org/en/latest/appendices/command-line/traffic_ctl.en.html
> is the tool you'd use.
> miles
>
>
> On Thursday, January 28, 2016 3:57 PM, feng D <fengidri@gmail.com> wrote:
>
>
> Is there a way to restart trafficserver like nginx?
>
>
>

Mime
View raw message