ArielGlenn has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/189447

Change subject: reinstate bandwidth and conn caps for dumps.wm.org
......................................................................

reinstate bandwidth and conn caps for dumps.wm.org

turns out that the pipe can handle more than the disks.  values
may need to be tweaked.

Change-Id: I7076b65d30b7abf24375816e3dd30875854485c3
---
M modules/dumps/templates/nginx.dumps.conf.erb
1 file changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/47/189447/1

diff --git a/modules/dumps/templates/nginx.dumps.conf.erb 
b/modules/dumps/templates/nginx.dumps.conf.erb
index 113222e..33d6326 100644
--- a/modules/dumps/templates/nginx.dumps.conf.erb
+++ b/modules/dumps/templates/nginx.dumps.conf.erb
@@ -16,6 +16,9 @@
       index index.html index.htm;
       autoindex on;
       charset utf-8;
+      limit_rate 256k;
+      limit_rate_after 1m;
+      limit_conn addr 3;
    }
 
    rewrite ^/other/(iOS|PlayBook|win8|android)(|/.*)$ 
$scheme://releases.wikimedia.org/mobile/$1$2  break;

-- 
To view, visit https://gerrit.wikimedia.org/r/189447
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7076b65d30b7abf24375816e3dd30875854485c3
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: ArielGlenn <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to