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

mariadb crash with mysqld got signal 11




      We've seems to hit over and over mariadb crashing with following on our multi-master setup. We've tried to decrease memory limits on the nodes but seems issue still occurs.

      210425 18:56:31 [ERROR] mysqld got signal 11 ;
      This could be because you hit a bug. It is also possible that this binary
      or one of the libraries it was linked against is corrupt, improperly built,
      or misconfigured. This error can also be caused by malfunctioning hardware.
      To report this bug, see https://mariadb.com/kb/en/reporting-bugs
      We will try our best to scrape up some info that will hopefully help
      diagnose the problem, but since we have already crashed,
      something is definitely wrong and this may fail.
      Server version: 10.5.9-MariaDB-1:10.5.9+maria~focal
      It is possible that mysqld could use up to
      key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 685804 K  bytes of memory
      Hope that's ok; if not, decrease some variables in the equation.
      Thread pointer: 0x0
      Attempting backtrace. You can use the following information to find out
      where mysqld died. If you see no messages after this, something went
      terribly wrong...
      stack_bottom = 0x0 thread_stack 0x49000
      Printing to addr2line failed
      The manual page at https://mariadb.com/kb/en/how-to-produce-a-full-stack-trace-for-mysqld/ contains
      information that should help you find out what is causing the crash.
      Writing a core file...
      Working directory at /var/lib/mysql
      Resource Limits:
      Limit                     Soft Limit           Hard Limit           Units
      Max cpu time              unlimited            unlimited            seconds
      Max file size             unlimited            unlimited            bytes
      Max data size             unlimited            unlimited            bytes
      Max stack size            8388608              unlimited            bytes
      Max core file size        unlimited            unlimited            bytes
      Max resident set          unlimited            unlimited            bytes
      Max processes             unlimited            unlimited            processes
      Max open files            1048576              1048576              files
      Max locked memory         16777216             16777216             bytes
      Max address space         unlimited            unlimited            bytes
      Max file locks            unlimited            unlimited            locks
      Max pending signals       59986                59986                signals
      Max msgqueue size         819200               819200               bytes
      Max nice priority         0                    0
      Max realtime priority     0                    0
      Max realtime timeout      unlimited            unlimited            us
      Core pattern: core.%e.%p.%t

      Our specific config options:

        galera.cnf: |
          user = mysql
          bind-address =
          default_storage_engine = InnoDB
          binlog_format = ROW
          innodb_autoinc_lock_mode = 2
          innodb_flush_log_at_trx_commit = 0
          query_cache_size = 0
          query_cache_type = 0
          binlog_cache_size = 61440
          # MariaDB Galera settings
          # Cluster settings (automatically updated)
        mariadb.cnf: "[client]\ndefault-character-set = utf8\n[mysqld]\ncore-file\nunix_socket
          = OFF\nperformance_schema = ON\ncharacter-set-server = utf8\ncollation-server
          = utf8_general_ci\nignore-db-dirs = lost+found \nmax_connections = 250\ninteractive_timeout
          = 450 \nwait_timeout = 450\n# InnoDB tuning\ninnodb_buffer_pool_size = 7000MB\ninnodb_log_file_size
          = 1600MB\n"

      Performance details from mysqtuner

      -------- Performance Metrics -----------------------------------------------------------------------
      [--] Up for: 11h 32m 3s (482K q [11.626 qps], 60K conn, TX: 800M, RX: 105M)
      [--] Reads / Writes: 80% / 20%
      [--] Binary logging is disabled
      [--] Physical Memory     : 14.7G
      [--] Max MySQL memory    : 11.8G
      [--] Other process memory: 0B
      [--] Total buffers: 7.2G global + 18.9M per thread (250 max threads)
      [--] P_S Max memory usage: 72B
      [--] Galera GCache Max memory usage: 128M
      [OK] Maximum reached memory usage: 7.7G (52.38% of installed RAM)
      [OK] Maximum possible memory usage: 11.8G (80.17% of installed RAM)
      [OK] Overall possible memory usage with other process is compatible with memory available
      [OK] Slow queries: 0% (0/482K)
      [OK] Highest usage of available connections: 11% (29/250)
      [OK] Aborted connections: 0.00%  (0/60012)
      [!!] name resolution is active : a reverse name resolution is made for each new connection and can reduce performance
      [OK] Query cache is disabled by default due to mutex contention on multiprocessor machines.
      [OK] Sorts requiring temporary tables: 0% (0 temp sorts / 1K sorts)
      [!!] Joins performed without indexes: 1008
      [OK] Temporary tables created on disk: 1% (804 on disk / 57K total)
      [OK] Thread cache hit rate: 99% (38 created / 60K connections)
      [OK] Table cache hit rate: 98% (530 open / 537 opened)
      [OK] table_definition_cache(400) is upper than number of tables(383)
      [OK] Open file limit used: 0% (60/32K)
      [OK] Table locks acquired immediately: 100% (791 immediate / 791 locks)

      Can you please check if this is a bug or some configuration issue? The crash file is one-time download in https://file.io/UfHRT94iSLvI


        Issue Links



              jplindst Jan Lindström (Inactive)
              jaroslav Jaroslav
              0 Vote for this issue
              3 Start watching this issue



                Git Integration

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