Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-183

MaxScale crash after 'reload config'

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • 1.1.1
    • 1.3.0
    • maxadmin
    • None
    • test

    Description

      Maxscale crashes when a new database connection is made after 'reload config' command.

      Steps to reproduce this issue:

      1. Update Maxscale.cnf file
      e.g.

      ++ max_slave_connections=70%
      -- max_slave_connections=50%

      2. Reload configuration using maxadmin

      /usr/local/mariadb-maxscale/bin/maxadmin -pmariadb "reload config"
      Reloading configuration from file.

      3. Connect to mysql

      mysql -h10.10.16.11 -udba -p -P4306
      Enter password:
      ERROR 2013 (HY000): Lost connection to MySQL server at 'reading authorization packet', system error: 0 "Internal error/check (Not system error)"

      this would cause maxscale to crash:

      2015-06-08 11:26:46   Fatal: MaxScale received fatal signal 11. Attempting backtrace.
      2015-06-08 11:26:46     /usr/local/mariadb-maxscale/bin/maxscale() [0x558658]
      2015-06-08 11:26:46     /lib/x86_64-linux-gnu/libpthread.so.0(+0xfcb0) [0x7f9f48137cb0]
      2015-06-08 11:26:46     /usr/local/mariadb-maxscale/modules/libreadwritesplit.so(+0x9b9a) [0x7f9f2d15bb9a]
      2015-06-08 11:26:46     /usr/local/mariadb-maxscale/modules/libreadwritesplit.so(+0x277a) [0x7f9f2d15477a]
      2015-06-08 11:26:46     /usr/local/mariadb-maxscale/bin/maxscale(session_alloc+0x1ed) [0x562f89]
      2015-06-08 11:26:46     /usr/local/mariadb-maxscale/modules/libMySQLClient.so(+0x36cf) [0x7f9f2c33a6cf]
      2015-06-08 11:26:46     /usr/local/mariadb-maxscale/bin/maxscale() [0x56b3c4]
      2015-06-08 11:26:46     /usr/local/mariadb-maxscale/bin/maxscale(poll_waitevents+0x61b) [0x56ac8d]
      2015-06-08 11:26:46     /lib/x86_64-linux-gnu/libpthread.so.0(+0x7e9a) [0x7f9f4812fe9a]
      2015-06-08 11:26:46     /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7f9f46e408bd]

      Attachments

        Activity

          People

            markus makela markus makela
            aftab.khan aftab khan
            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.