You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by jh...@apache.org on 2021/06/28 19:10:46 UTC

[trafficcontrol] branch master updated: Lower TR dns.max-threads to 100 to fix crashes and poor performance (#5979)

This is an automated email from the ASF dual-hosted git repository.

jhg03a pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git


The following commit(s) were added to refs/heads/master by this push:
     new 87326d5  Lower TR dns.max-threads to 100 to fix crashes and poor performance (#5979)
87326d5 is described below

commit 87326d51e7b261946f9f46e8ea96985ef65e419e
Author: Eric Friedrich <li...@users.noreply.github.com>
AuthorDate: Mon Jun 28 15:10:29 2021 -0400

    Lower TR dns.max-threads to 100 to fix crashes and poor performance (#5979)
    
    Co-authored-by: efriedrich <er...@disneystreaming.com>
---
 CHANGELOG.md                                                  | 1 +
 infrastructure/ansible/roles/traffic-router/defaults/main.yml | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index cb8b778..15db73d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -71,6 +71,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
 - Fixed t3c to generate topology parents correctly for parents with the Type MID+ or EDGE+ versus just the literal. Naming cache types to not be exactly 'EDGE' or 'MID' is still discouraged and not guaranteed to work, but it's unfortunately somewhat common, so this fixes it in one particular case.
 - Fixed t3c to create config files and directories as ats.ats
 - Fixed t3c-apply service restart and ats config reload logic.
+- Reduced TR dns.max-threads ansible default from 10000 to 100. 
 
 ### Changed
 - Updated the Traffic Ops Python client to 3.0
diff --git a/infrastructure/ansible/roles/traffic-router/defaults/main.yml b/infrastructure/ansible/roles/traffic-router/defaults/main.yml
index fd8665b..53d9447 100644
--- a/infrastructure/ansible/roles/traffic-router/defaults/main.yml
+++ b/infrastructure/ansible/roles/traffic-router/defaults/main.yml
@@ -111,7 +111,7 @@ tr_connectors:
 tr_dns_tcp_port: 53
 tr_dns_tcp_backlog: 65535
 tr_dns_udp_port: 53
-tr_dns_max_threads: 10000
+tr_dns_max_threads: 100
 tr_dns_zones_dir: "{{tr_base_dir}}/var/auto-zones"
 
 # cache.properties