Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-18360

out of memory with systemd >= 240

    XMLWordPrintable

    Details

      Description

      In Arch Linux we have packages for MariaDB and Galera. Running MariaDB with Galera enabled used to work just fine, but broke with recent systemd updates. The breakage was caused with this systemd change: main: bump fs.nr_open + fs.max-file to their largest possible values

      Starting mariadb.service results in an out of memory exception within seconds. This can be worked around by lowering fs.nr_open. Looks like any data structure is multiplied with the maximum open files and allocated instantly.

      This has been reported to Arch Linux bugs tracker (FS#61433 - systemd-240 galera_recovery killed by OOM) and systemd isssue tracker (systemd 240 fails to start mariadb + galera on Arch Linux).

        Attachments

          Activity

            People

            Assignee:
            cvicentiu Vicențiu Ciorbaru
            Reporter:
            eworm Christian Hesse
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: