From 5fa31b09da564c4eac71c072691f2e1034a4dae3 Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Tue, 3 Jun 2014 20:51:18 -0700 Subject: [PATCH] Better apache mem cache tuneable values By default our apache mod mem cache tuneables are too conservative to cache the zuul status.json. Bump the numbers to something reasonable for the status.json file. This means increasing the total cache size and the max object/stream sizes. Change-Id: Icf6ad2591e67d5916efbd65ddf93379d2c3ffc69 --- modules/zuul/templates/zuul.vhost.erb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/zuul/templates/zuul.vhost.erb b/modules/zuul/templates/zuul.vhost.erb index 86a89cb79c..9e50ffa03e 100644 --- a/modules/zuul/templates/zuul.vhost.erb +++ b/modules/zuul/templates/zuul.vhost.erb @@ -27,6 +27,13 @@ CacheDefaultExpire 5 CacheEnable mem /status.json + # 12MByte total cache size. + MCacheSize 12288 + MCacheMaxObjectCount 10 + MCacheMinObjectSize 1 + # 8MByte max size per cache entry + MCacheMaxObjectSize 8388608 + MCacheMaxStreamingBuffer 8388608