Jcrespo has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/371448 )

Change subject: Set OOM_adj to -500 for mariadb- WMF package is normally 
dedicated
......................................................................

Set OOM_adj to -500 for mariadb- WMF package is normally dedicated

Because how much memory mariadb can consume, this will probably
have little effect overally. We should reduce the priority
(increase the OOM value) of other services such as prometheus, and
other auxiliary, but non-critical services.

Bug: T172494
Change-Id: I113d7aee219f2265ce034a914234e29fc67420a3
---
M dbtools/mariadb.service
M dbtools/mariadb@.service
2 files changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/software 
refs/changes/48/371448/1

diff --git a/dbtools/mariadb.service b/dbtools/mariadb.service
index f574de4..a24ffc7 100644
--- a/dbtools/mariadb.service
+++ b/dbtools/mariadb.service
@@ -115,7 +115,7 @@
 
 # Kernels like killing mysqld when out of memory because its big.
 # Lets temper that preference a little.
-# OOMScoreAdjust=-600
+OOMScoreAdjust=-600
 
 # Explicitly start with high IO priority
 # BlockIOWeight=1000
diff --git a/dbtools/mariadb@.service b/dbtools/mariadb@.service
index 5002f04..f3427f6 100644
--- a/dbtools/mariadb@.service
+++ b/dbtools/mariadb@.service
@@ -139,7 +139,7 @@
 
 # Kernels like killing mysqld when out of memory because its big.
 # Lets temper that preference a little.
-# OOMScoreAdjust=-600
+OOMScoreAdjust=-600
 
 # Explicitly start with high IO priority
 # BlockIOWeight=1000

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I113d7aee219f2265ce034a914234e29fc67420a3
Gerrit-PatchSet: 1
Gerrit-Project: operations/software
Gerrit-Branch: master
Gerrit-Owner: Jcrespo <jcre...@wikimedia.org>

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

Reply via email to