[
https://issues.apache.org/jira/browse/TS-4861?focusedWorklogId=28988&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-28988
]
ASF GitHub Bot logged work on TS-4861:
--------------------------------------
Author: ASF GitHub Bot
Created on: 13/Sep/16 20:18
Start Date: 13/Sep/16 20:18
Worklog Time Spent: 10m
Work Description: GitHub user jpeach opened a pull request:
https://github.com/apache/trafficserver/pull/1014
TS-4861: Turn ECONNRESET into an end-of-file.
If you do traffic_ctl server restart, then traffic_manager is getting
an ECONNRESET error on the management socket after traffic_server
exits. traffic_manager takes this as a fatal error and exits too.
The fix is to turn ECONNRESET into an EOF (0) return from
mgmt_read_pipe() so that traffic_manager correctly sees that
traffic_server has gone away.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jpeach/trafficserver fix/4861
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafficserver/pull/1014.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1014
----
commit abf11d66871f630b6d8151c7eba8e8348e3fb7f5
Author: James Peach <[email protected]>
Date: 2016-09-13T20:10:16Z
TS-4861: Turn ECONNRESET into an end-of-file.
If you do traffic_ctl server restart, then traffic_manager is getting
an ECONNRESET error on the management socket after traffic_server
exits. traffic_manager takes this as a fatal error and exits too.
The fix is to turn ECONNRESET into an EOF (0) return from
mgmt_read_pipe() so that traffic_manager correctly sees that
traffic_server has gone away.
----
Issue Time Tracking
-------------------
Worklog Id: (was: 28988)
Time Spent: 10m
Remaining Estimate: 0h
> traffic_manager dies after killing server
> -----------------------------------------
>
> Key: TS-4861
> URL: https://issues.apache.org/jira/browse/TS-4861
> Project: Traffic Server
> Issue Type: Bug
> Components: Manager
> Reporter: James Peach
> Time Spent: 10m
> Remaining Estimate: 0h
>
> If you do {{traffic_ctl server restart}}, then {{traffic_manager}} is getting
> an {{ECONNRESET}} error on the management socket after {{traffic_server}}
> exits. {{traffic_manager}} takes this as a fatal error and exits too.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)