From 313674646df60fc0e8342eff26094f694105cf76 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Tue, 21 Sep 2021 16:19:14 -0700 Subject: [PATCH] proxies: increase max workers Also add a ssl connection cache. These changes are live on proxy01/10 and seem to have made them stable again. Will look at pushing to the rest tomorrow. Signed-off-by: Kevin Fenzi --- inventory/group_vars/proxies | 2 +- roles/httpd/proxy/templates/httpd.conf.j2 | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/inventory/group_vars/proxies b/inventory/group_vars/proxies index c04531a579..5b0a25feef 100644 --- a/inventory/group_vars/proxies +++ b/inventory/group_vars/proxies @@ -7,7 +7,7 @@ num_cpus: 6 # This is used in the httpd.conf to determine the value for serverlimit and # maxrequestworkers. On 8gb proxies, 900 seems fine. But on 4gb proxies, this # should be lowered in the host vars for that proxy. -maxrequestworkers: 900 +maxrequestworkers: 1500 tcp_ports: [ # For apache, generally. diff --git a/roles/httpd/proxy/templates/httpd.conf.j2 b/roles/httpd/proxy/templates/httpd.conf.j2 index 00947131f0..5b1e0debf3 100644 --- a/roles/httpd/proxy/templates/httpd.conf.j2 +++ b/roles/httpd/proxy/templates/httpd.conf.j2 @@ -773,3 +773,5 @@ EnableSendfile on # Configure a location for OCSP stapling SSLStaplingCache shmcb:/tmp/stapling_cache(128000) +SSLSessionCache shmcb:/run/httpd/sslcache(10240000) +SSLSessionCacheTimeout 600