FS#61433 - [mariadb] galera_recovery killed by OOM with systemd >= 240
Attached to Project:
Arch Linux
Opened by Cristian Bradiceanu (cbredi) - Wednesday, 16 January 2019, 20:18 GMT
Last edited by Christian Hesse (eworm) - Thursday, 24 January 2019, 14:49 GMT
Opened by Cristian Bradiceanu (cbredi) - Wednesday, 16 January 2019, 20:18 GMT
Last edited by Christian Hesse (eworm) - Thursday, 24 January 2019, 14:49 GMT
|
Details
Description:
After upgrading to systemd-240 mariadb would not start as galera_recovery is killed by OOM. Tried to set OOMScoreAdjust=-900 for mariadb.service but same problem persists. With OOMScoreAdjust=-999 the system becomes unstable or crashes. Downgrading to systemd-239.370 fixes this issue. Additional info: Confirmed affected on two 3-server mariadb + galera clusters with systemd 240.0-3, 240.34-2 and 240.34-3 Steps to reproduce: Upgrade to systemd-240, after reboot mariadb (+galera) would not start: /usr/bin/galera_recovery: line 71: 8976 Killed ./bin/mysqld --user=mysql --wsrep_recover --disable-log-error' Downgrade to systemd 239.370 and mariadb (+galera) will start successfully. I have added libsystemd systemd systemd-sysvcompat to IgnorePkg, this causes various systemd binaries to stop working with error while loading shared libraries: libidn2.so.0: cannot open shared object file: No such file or directory Downgrading to libidn2-2.0.5-1 fixes systemd-239.370 but then pacman stopped working with pacman: error while loading shared libraries: libidn2.so.4: cannot open shared object file: No such file or directory so I ended up copying libidn2.so.0.3.4 from libidn2-2.0.5-1 to /lib to keep both systemd and pacman working after upgrading to libidn2-2.1.0-1 |
This task depends upon
Closed by Christian Hesse (eworm)
Thursday, 24 January 2019, 14:49 GMT
Reason for closing: Fixed
Additional comments about closing: mariadb 10.3.12-4
Thursday, 24 January 2019, 14:49 GMT
Reason for closing: Fixed
Additional comments about closing: mariadb 10.3.12-4
https://github.com/systemd/systemd/blob/master/NEWS#L125
https://github.com/systemd/systemd/blob/master/NEWS#L151
With LimitNOFILE=4096 mariadb + galera still won’t start under systemd 240.
https://jira.mariadb.org/browse/MDEV-18360