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

MariaDB crashes with out-of-memory when query information_schema

    Details

      Description

      Hi,

      I use MariaDB in an embedded Linux system with read-only mounted datadir. Event-Scheduler is DISABLED, so I can start mysqld.

      When I query information_schema tables that uses "Open_full_table; Scanned all databases" Extra on select, then the query hangs until an out-of-memory exception occurs. The mysqld daemon is restarted.

      Query:

      SELECT * FROM information_schema.tables

      Exception:

      [28200.389724] Out of memory: Kill process 4478 (mysqld) score 612 or sacrifice child [28200.412466] Killed process 4478 (mysqld) total-vm:912336kB, anon-rss:615564kB, file-rss:516kB

        Attachments

          Activity

            People

            • Assignee:
              serg Sergei Golubchik
              Reporter:
              christian.stern Christian Stern
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: