Page MenuHomePhabricator

Change oom_adj for dedicated mysql server processes
Closed, ResolvedPublic

Description

In the small chance there is something else running on a mysql server, kill it first when memory is about to be exahusted. This is something that probably can be done on packaging with systemd very easily.

Event Timeline

Low, but it will probably be done at some point (on the next mariadb package)

Change 371448 had a related patch set uploaded (by Jcrespo; owner: Jcrespo):
[operations/software@master] Set OOM_adj to -500 for mariadb- WMF package is normally dedicated

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

Change 371448 merged by Jcrespo:
[operations/software@master] Set OOM_adj to -500 for mariadb- WMF package is normally dedicated

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

After those patches, is this considered done?

jcrespo claimed this task.

yes, but it should be increased for other packages, as it will not take real effect anyway.