TS-3810 traffic_manager leaks that thread stack, make sure to detach the threads
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/a532d6d9 Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/a532d6d9 Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/a532d6d9 Branch: refs/heads/6.0.x Commit: a532d6d9de75c1802700e1e18c3f27742cc65e87 Parents: 9180ed6 Author: Leif Hedstrom <[email protected]> Authored: Fri Jul 31 14:35:35 2015 -0600 Committer: Leif Hedstrom <[email protected]> Committed: Fri Jul 31 14:35:35 2015 -0600 ---------------------------------------------------------------------- cmd/traffic_manager/MgmtHandlers.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/a532d6d9/cmd/traffic_manager/MgmtHandlers.cc ---------------------------------------------------------------------- diff --git a/cmd/traffic_manager/MgmtHandlers.cc b/cmd/traffic_manager/MgmtHandlers.cc index a7f44ce..5e974ef 100644 --- a/cmd/traffic_manager/MgmtHandlers.cc +++ b/cmd/traffic_manager/MgmtHandlers.cc @@ -254,7 +254,7 @@ mgmt_synthetic_main(void *) mgmt_log(stderr, "[SyntheticHealthServer] Connect by disallowed client %s, closing\n", inet_ntoa(clientInfo.sin_addr)); close_socket(clientFD); } else { - ink_thread thrId = ink_thread_create(synthetic_thread, (void *)&clientFD); + ink_thread thrId = ink_thread_create(synthetic_thread, (void *)&clientFD, 1); if (thrId <= 0) { mgmt_log(stderr, "[SyntheticHealthServer] Failed to create worker thread");
