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

Leif Hedstrom commented on TS-2490:
-----------------------------------

What if we don't allow traffic_cop to kill anything until it has reached a 
"good" state? So, something like

fail (no restart)
fail (no restart)
fail (no restart)
success
success
...
fail (no restart)
fail (restart)

(remember, it takes two failures in a row to restart). This also avoids an 
annoying step where ATS goes into a loop of constant restarts because it can't 
startup properly.


> traffic_cop kills TS process before it completes starting
> ---------------------------------------------------------
>
>                 Key: TS-2490
>                 URL: https://issues.apache.org/jira/browse/TS-2490
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Cop, Core
>            Reporter: David Carlin
>
> Several things can slow traffic_server startup
> - Long remap.config file
> - Long list of certs in ssl_multicert.config (see TS-2058)
> - Plugins that take too long to initialize
> You end up with a race condition where traffic_server never starts because 
> traffic_cop kills it before it completes. 
> There was a hack at Yahoo to address this - a YTS setting 
> proxy.config.watch_sleep_time to change the heartbeat interval as a 
> workaround.  Doesn't seem like a practical solution for issues like TS-2058 
> where the heartbeat would need to be in minutes.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to