]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
Instead of accepting mail from all over the internet and queueing it
authorStephen Gran <steve@lobefin.net>
Mon, 16 Nov 2009 00:43:41 +0000 (00:43 +0000)
committerStephen Gran <steve@lobefin.net>
Mon, 16 Nov 2009 00:43:41 +0000 (00:43 +0000)
when the load is too high, back off and only accept mail from debian
hosts when the load hits a threshhold.  At the next threshhold, slightly
higher, start also only queueing mail.
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/exim/templates/eximconf.erb

index a8b88ecf0d774c51e4db610e4a7eb0c526173b1f..462daa849ee39ebff2a35c1e8bde5300f60cfd0c 100644 (file)
@@ -214,7 +214,8 @@ delay_warning =
 <% if nodeinfo.has_key?('heavy_exim') and not nodeinfo['heavy_exim'].empty? %>
 queue_run_max = 50
 deliver_queue_load_max = 50
-queue_only_load = 15
+queue_only_load = 35
+smtp_load_reserve = 20
 <% else %>
 queue_run_max = 5
 deliver_queue_load_max = 10