Prevent mariadb from OOM killing
Added OOMScoreAdjust to systemd environment config to avoid mariadb galera to be killed in a oom situration Closes-Bug: #1927951 Change-Id: I1041865b1f488b05240722ff52773d51c151ad62
This commit is contained in:
parent
60de69f0ec
commit
cd370e87e6
|
@ -3,3 +3,6 @@
|
|||
[Service]
|
||||
# https://jira.mariadb.org/browse/MDEV-14256
|
||||
Environment="WSREP_SST_OPT_PORT=4444"
|
||||
|
||||
# Configure Linux OOM killer to prioritize other targets than mariadb
|
||||
OOMScoreAdjust=-1000
|
||||
|
|
Loading…
Reference in New Issue