Dzahn has uploaded a new change for review.
https://gerrit.wikimedia.org/r/300902
Change subject: labs: restart slapd once a week
......................................................................
labs: restart slapd once a week
Add a cron that restarts slapd once a week to mitigate the slapd memory
leak issue, as suggested by Moritz.
Note how there are 2 other roles (corp and labtest) using the same slapd
module that are not changed so far. (Is corp not hit by the issue?)
Bug:T130593
Change-Id: Idf33099b07d3d231a0c229628db5c9d6c67dd8b0
---
M modules/role/manifests/openldap/labs.pp
1 file changed, 10 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/02/300902/1
diff --git a/modules/role/manifests/openldap/labs.pp
b/modules/role/manifests/openldap/labs.pp
index 7674219..72dd81b 100644
--- a/modules/role/manifests/openldap/labs.pp
+++ b/modules/role/manifests/openldap/labs.pp
@@ -45,6 +45,16 @@
critical => false,
}
+ # restart slapd once a week to mitigate memory leak (T130593)
+ cron {
+ ensure => present,
+ user => 'root',
+ weekday => 'Sunday'
+ minute => '0',
+ hour => '3',
+ command => '/bin/systemctl restart slapd',
+ }
+
$monitor_pass = $passwords::openldap::labs::monitor_pass
diamond::collector { 'OpenLDAP':
settings => {
--
To view, visit https://gerrit.wikimedia.org/r/300902
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Idf33099b07d3d231a0c229628db5c9d6c67dd8b0
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Dzahn <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits