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 <[email protected]>: > 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 <[email protected]> wrote: > > > Is there a way to restart trafficserver like nginx? > > >
