Filippo Giunchedi has submitted this change and it was merged.

Change subject: swift: throttle object-auditor
......................................................................


swift: throttle object-auditor

we've observed high iops from the object auditor while scanning disks, thus
throttle file/bandwidth scanning from the defaults (20 files/s, 10MB/s).

Change-Id: Id68dbfe120e485d9b65994488ac936146cd0cf46
---
M modules/swift_new/templates/object-server.conf.erb
M templates/swift/etc.swift.object-server.conf.erb
2 files changed, 4 insertions(+), 0 deletions(-)

Approvals:
  Filippo Giunchedi: Verified; Looks good to me, approved
  Faidon Liambotis: Looks good to me, approved



diff --git a/modules/swift_new/templates/object-server.conf.erb 
b/modules/swift_new/templates/object-server.conf.erb
index 232c029..676c530 100644
--- a/modules/swift_new/templates/object-server.conf.erb
+++ b/modules/swift_new/templates/object-server.conf.erb
@@ -33,3 +33,5 @@
 concurrency = 1
 
 [object-auditor]
+files_per_second = 5
+bytes_per_second = 5000000
diff --git a/templates/swift/etc.swift.object-server.conf.erb 
b/templates/swift/etc.swift.object-server.conf.erb
index 232c029..676c530 100644
--- a/templates/swift/etc.swift.object-server.conf.erb
+++ b/templates/swift/etc.swift.object-server.conf.erb
@@ -33,3 +33,5 @@
 concurrency = 1
 
 [object-auditor]
+files_per_second = 5
+bytes_per_second = 5000000

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Id68dbfe120e485d9b65994488ac936146cd0cf46
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Filippo Giunchedi <fgiunch...@wikimedia.org>
Gerrit-Reviewer: Faidon Liambotis <fai...@wikimedia.org>
Gerrit-Reviewer: Filippo Giunchedi <fgiunch...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to