[
https://issues.apache.org/jira/browse/TS-1461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14244875#comment-14244875
]
ASF GitHub Bot commented on TS-1461:
------------------------------------
Github user bryancall commented on a diff in the pull request:
https://github.com/apache/trafficserver/pull/154#discussion_r21776812
--- Diff: cmd/traffic_manager/traffic_manager.cc ---
@@ -731,6 +742,13 @@ main(int argc, char **argv)
}
if (lmgmt->run_proxy && !lmgmt->processRunning()) { /* Make sure we
still have a proxy up */
+ if(sleep_time){
--- End diff --
1. Put a space before the braces on a conditional.
2. How does the sleep time get set back to 0 after there had been a
successful start of traffic_server?
> traffic_manager should only try X number of times to start traffic_server
> -------------------------------------------------------------------------
>
> Key: TS-1461
> URL: https://issues.apache.org/jira/browse/TS-1461
> Project: Traffic Server
> Issue Type: Improvement
> Components: Manager
> Affects Versions: 3.2.0
> Reporter: David Carlin
> Assignee: Eric Schwartz
> Priority: Minor
> Fix For: 5.3.0
>
>
> If there is a problem with the config and traffic_server doesn't start,
> traffic_manager still tries indefinitely to restart ATS. This fills up the
> TS logs, /var/log/messages, and can send out hundreds of emails via
> proxy.config.alarm_email.
> Is it possible to have traffic_manager only attempt X number of restarts? Or
> X number of restarts in a given period of time?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)