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

James Peach commented on TS-3104:
---------------------------------

I applied the first patch, but I don't think the second is correct. The 
management socket is supposed to internally reconnect, so there should be no 
need to call TSInit more than once. There might be a bug in the management 
client code, however.

> traffic_cop can't restart traffic_manager properly
> --------------------------------------------------
>
>                 Key: TS-3104
>                 URL: https://issues.apache.org/jira/browse/TS-3104
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Cop
>            Reporter: Victor
>            Assignee: James Peach
>             Fix For: 6.0.0
>
>         Attachments: ts-0022-fix-lockfile-killgroup.patch, 
> ts-0023-cop-reinit-mgr-api-on-failure.patch
>
>
> In some cases traffic_cop can't restart traffic_manager properly. We met 
> these issues at "Ashmanov and partners" (http://en.ashmanov.com/). There are 
> two places in code which in my opinion need corrections:
> 1) The logic which decides whether to kill process or group.
> 2) The main traffic_cop loop: it doesn't reinitialize manager API in case of 
> failure and this fact leads to constant attempts to connect to manager using 
> socket id == -1. 
> I have prepared patches for both issues. Please kindly take a look at them 
> and let me know your thoughts.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to