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

MariaDB crashes with out-of-memory when query information_schema

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 10.0.28, 10.0(EOL), 10.1(EOL), 10.2(EOL)
    • 10.1.24, 10.0.31, 10.2.7
    • Admin statements, Server
    • None
    • Debian Jessie x86, read-only filesystem

    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

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

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.